How to Split a string and get some part of the string

hello,

i have a string “IN - b b Fax: +91(70)1111” i would like to collect only IN - b b from the string.
please suggest the easiest way to collect the part .

thanks in advance

1 Like

Hi
If the input is in strinput
Then
Stroutput = Split(strinput.ToString,”Fax”)(0).ToString.Trim

Cheers @roysupriya21

thanks you so much…

Cheers @roysupriya21

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