I have a variable string a=“1fgjfsjjh edth dfh oidafjsgio NO : AE00165782”.
I want get value after colon.
output : AE00165782
I have a variable string a=“1fgjfsjjh edth dfh oidafjsgio NO : AE00165782”.
I want get value after colon.
output : AE00165782
Hi
Welcome to uipath community
This expression would help on this
str_output = Split(str_input,”:”)(1).ToString.Trim
Cheers @Ajith1
Hi Ajith,
You can use string manipulation
Ex String.Split(“:”) you can use this function
Assign activity, strOutput = a.SubString(a.IndexOf(":") + 1)
Regards,
Karthik Byggari
Hi Ajith,
Welcome to community.
You can also try a.Substring(34) in a variable or in a assign activity
cheers @Ajith1
@Ajith1
You can try this expression:
use assign activity
a= “1fgjfsjjh edth dfh oidafjsgio NO : AE00165782”
output = a.Split(":"c)(1).ToString.Trim
Thanks!
This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.