Author Topic: In SlickC, how to split a string that contains multiple lines of output  (Read 566 times)

rowbearto

  • Senior Community Member
  • Posts: 1349
  • Hero Points: 101
I have a string that has multiple lines of output in it (separated by LF-\n char).

How to make a loop where I can loop over each line in the string in SlickC?

And/or how to convert it into a string array where each element is a line of output?

rowbearto

  • Senior Community Member
  • Posts: 1349
  • Hero Points: 101
Re: In SlickC, how to split a string that contains multiple lines of output
« Reply #1 on: October 08, 2018, 01:22:09 pm »
OK, found split() function.