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
sep A single character that will be used to split the string into multiple elements (for example a comma or space)
output var The array of elements returned
<div><div>flags A comma separated list of any of the following keywords
\r
trim removes extra space around the left and right sides of all elements
\r
ltrim removes extra space around the left side of all elements
\r
rtrim removes extra space around the right side of all elements
\r
lower converts all elements to lowercase
\r
upper converts all elements to uppercase
\r
insensitive searches for the sep input parameter using a case-insensitive search