Parse String

Store those three lines in a string variable. In my example below it is TestString.

Then you can use the Assign activity to store the value of the Name in another variable.

TestString.Substring(TestString.IndexOf("Name: ")+"Name: ".Length).Split(Environment.NewLine.ToCharArray)(0)

Replicate for age and gender.

Example attached:

TestString_Parse.xaml (6.9 KB)

1 Like