StringUtilsSplit

Kind of class:class
Inherits from:none
Author:Arthur Clemens
Classpath:org.asapframework.util.StringUtilsSplit
File last modified:Thursday, 12 October 2006, 11:19:40
Split trimmming methods.
More string manipulation methods in StringUtils.

Summary


Class properties
Class methods
  • splitAndPreserveQuotes (inText:String, inDelimiter:String) : Array
    • Splits a line of text in components - separated by inDelimiter - and returns a components array.

Class properties

QUOTE_CHAR

static QUOTE_CHAR:String = "\""
(read)

Class methods

splitAndPreserveQuotes

static function splitAndPreserveQuotes (
inText:String, inDelimiter:String) : Array

Splits a line of text in components - separated by inDelimiter - and returns a components array. The components are trimmed from whitespace.
This method preserves text inside double quoteContents ("").
Parameters:
inText :
the text string to split
inDelimiter:
the string delimiter
Returns:
  • The components array.