String helper utility class.
This class includes some Java-like functions for parsing strings, as well as some functions for getting qualifiers / unqualifying phing-style classpaths. (e.g. "phing.util.StringHelper").
| author | Hans Lellelid |
|---|---|
| package | phing.system.util |
booleanValue($s) : boolean
booleanendsWith($check, $string)
hashCode($string) : int
intisBoolean($s)
isSlotVar(string $value)
string
key() : string
stringmultiply(array $strings, array $tokens, array $replacements) : string
arrayArray of strings to multiply. (If string is passed, will convert to array)
arrayThe tokens to search for.
arrayThe values with which to replace found tokens.
stringprefix(array $columns, string $prefix) : array
arrayString[]
string
arrayString[]qualifier($qualifiedName, $seperator) : string
E.g. eg.Cat -> eg
stringroot($qualifiedName, $separator) : string
stringslotVar(string $var) : string
stringThe var from build file.
stringExtracted name part.startsWith($check, $string)
substring($string, $startpos, $endpos)
toCharArray($str) : array
| deprecated |
|---|
arrayunqualify(string $qualifiedName, string $separator)
E.g. eg.Cat -> Cat
string
stringCharacter used to separate.
$FALSE_VALUES
$TRUE_VALUES