Hi Everyone,
I want to extract only “Vikram Rathod” from the expression - “Vikram#<32>#Vishal#<34>#Rathod”.
To get this I have used substring function like this-
firstly, used an assign activity and assign the value like this-
-
InputVar= “Vikram#<32>#Vishal#<34>#Rathod”
-
StartIndx= InputVar.IndexOf(“Vikram”)
-
EndIndx= Inputvar.IndexOf(“#Rathod”)
-
Extractedvar= InputVar.Substring( StartIdx, EndIdx-StartIdx+ “Rathod”.Length)
if i use this expression then i get the whole value like- Vikram#<32>#Vishal#<34>#Rathod, what am I doing wrong?
please help me to get this.
Thank you!