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

rowbearto

  • Senior Community Member
  • Posts: 2335
  • Hero Points: 132
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: 2335
  • Hero Points: 132
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.