Home
Help
Search
Login
Register
SlickEdit Community
»
SlickEdit Product Discussion
»
SlickEdit®
»
Slick-C® Macro Programming
»
In SlickC, how to split a string that contains multiple lines of output
« previous
next »
Print
Pages: [
1
]
Go Down
Author
Topic: In SlickC, how to split a string that contains multiple lines of output (Read 6941 times)
rowbearto
Senior Community Member
Posts: 2344
Hero Points: 132
In SlickC, how to split a string that contains multiple lines of output
«
on:
October 08, 2018, 01:21:21 PM »
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?
Logged
rowbearto
Senior Community Member
Posts: 2344
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.
Logged
Print
Pages: [
1
]
Go Up
« previous
next »
SlickEdit Community
»
SlickEdit Product Discussion
»
SlickEdit®
»
Slick-C® Macro Programming
»
In SlickC, how to split a string that contains multiple lines of output