String.Explode |
Top Previous Next |
Syntax function String.Explode(Delimiter: char; Value: string) : array
Alternative Names
Description The string Value is split up using Delimiter character and its items are returned as an array.
Example execute udsblock as begin valueexploded = String.Explode(',', '1,2,3,4,5'); GUI.ShowMessage('array exploded, ' || Array.Length(valueexploded) || ' values coming up');
foreach (valueexploded as arrayval) do begin GUI.ShowMessage(arrayval); /* shows 1, then 2, then 3 etc */ end; end |