Skip to content

Manual:DIL Manual split()

iamnove edited this page Jan 18, 2023 · 52 revisions

stringlist split ( var s : string, var t : string)

 s : A string with zero or more words separated by var t.
 return: A stringlist where each string was a word in 's' separated by string 't'.

You can use '&x' to split a string by line. This is very useful when reading in files with 'loadstr'.

Clone this wiki locally