Break the strings into lines

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:


yourTextVar.Split({Environment.NewLine}, StringSplitOptions.RemoveEmptyEntries)

both statements will retrun a string Array