A string exploder that won't split inside paretheses or double-quotes
Located in /Orm/Xsql/Split.php (line 24)
Gets a splitter for the arrow ('->')
Gets a splitter for a comma (',')
Gets a splitter for any string
Gets a splitter for a space (' ')
Creates a new splitter
Creates a new splitter
Like explode(), but won't split inside of parentheses or double-quotes
This method will split a string into an array using a string as a seperator. If the seperator is contained within a pair of double-quotes or between matching parentheses, it will be ignored. If the seperator is not found, the method will return an array with one element containing the entire string.
Example:
Would print:
array ( [0]=>A [1]=>(great (test)) [2]=>of [3]=>"this method" )
Documentation generated on Mon, 19 May 2008 17:07:37 -0400 by phpDocumentor 1.4.2