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
boolean
endsWith($check, $string)
hashCode($string) : int
int
isBoolean($s)
isSlotVar(string $value)
string
key() : string
string
multiply(array $strings, array $tokens, array $replacements) : string
array
Array of strings to multiply. (If string is passed, will convert to array)
array
The tokens to search for.
array
The values with which to replace found tokens.
string
prefix(array $columns, string $prefix) : array
array
String[]
string
array
String[]qualifier($qualifiedName, $seperator) : string
E.g. eg.Cat -> eg
string
root($qualifiedName, $separator) : string
string
slotVar(string $var) : string
string
The var from build file.
string
Extracted name part.startsWith($check, $string)
substring($string, $startpos, $endpos)
toCharArray($str) : array
deprecated |
---|
array
unqualify(string $qualifiedName, string $separator)
E.g. eg.Cat -> Cat
string
string
Character used to separate.
$FALSE_VALUES
$TRUE_VALUES