StrSplit



StrSplit method
Smart pascal source code
WriteLn(StrSplit('a,b', ',')[1]); var s := 'a,b'; WriteLn(StrSplit(s, ',')[0]); var k := 1; WriteLn(StrSplit(s, ',')[k]); { <<< CONSOLE OUTPUTS >>> b a b }