Utilities.SplitLines
Module | Utilities |
---|---|
Method | |
Library | Core |
Action | Convert a delimited fragment of text into multiple rows. |
Parameters | |
Return values | For each occurrence of
|
Example | Take a string in CSV format and split that string into multiple rows based on a comma delimiter: @c = SELECT "Red,Yellow,Blue,Black,White,Green" AS Colors; @c = Utilities.SplitLines(Text: @c.Colors, Delimiter: ","); |
Platforms |
|
Notes | The If you omit the Line numbers are not returned, therefore you must use the built-in SQLite autoincremented key rowid if you need to perform operations on the Output. For example the below code will return the last inserted row "Green" whereas max(Output) would return "Yellow". select Output from @c order by rowid desc limit 1; |