UNPACK(Expr, DelimChar='|')
Breaks the contents of delimited text at Expr and returns an array. DelimChar is the delimiter used in the operation and is optional. If omitted then the default delimiter character is assumed. It is used in array expressions.
set ar=UnPack('1|2|3|4|5|6');
See also DELIMITER
Go Back