I want to display "and" in the given statement by using split function can tell me the code for it?


Do you want to split the above text based on and as delimiter ?

If yes then try below one. First assign above value to one String variable.

1 Like

how can we index it?

the string is in status variable so it is status,inputStr.Split("and"c)

what will this give?


status.Split("and"c)(0) - “variable created operation successful”

status.Split("and"c)(1) - “record no is created”

1 Like

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.