Hi team
Need your expertise to solve an issue. I have below mention data as string and need to separate each line. Could you please help me to do so. Thanks
Microsoft BV
Evert van de beekstraat 354
1118CZ Amsterdam
Schiphol, Netherlands
Hi team
Need your expertise to solve an issue. I have below mention data as string and need to separate each line. Could you please help me to do so. Thanks
Microsoft BV
Evert van de beekstraat 354
1118CZ Amsterdam
Schiphol, Netherlands
give a try on:
System.Text.RegularExpressions.Regex.Split(yourString,“\r?\n”)
Or
yourTextVar.Split({Environment.NewLine}, StringSplitOptions.RemoveEmptyEntries)
both statements will retrun a string Array