Skip to content

miva_splitstring()#

Syntax
miva_splitstring( string, sep, output var, flags )

Returns#

Returns the number of elements in the output array.

Parameters#

Parameter Description
string The input string to split.
sep A single character delimiter used to split the string (e.g. a comma or space).
output [output] The array of elements resulting from the split.
flags Optional comma-separated list of keywords: trim (trim both sides), ltrim (trim left), rtrim (trim right), lower (convert to lowercase), upper (convert to uppercase), insensitive (case-insensitive delimiter search).