Method |
Description |
|
contains ( string | StringObject $needle ) : boolean |
Checks if a string contains the given $char. |
|
containsAny ( array | ArrayObjec\ArrayObject $needle ) : boolean |
Checks if a string contains any of the given $char. |
|
endsWith ( string | StringObject $string ) : boolean |
Checks if the current string ends with the given $string. |
|
equals ( string | StringObject $string ) : boolean |
Check if $string is equal to current string. |
|
longerThan ( integer $num, boolean $inclusive = false ) : boolean |
Checks if the string length is great than the given length. |
|
startsWith ( string | StringObject $string ) : boolean |
Checks if the current string starts with the given $string. |
|
stringPosition ( string $string, integer $offset ) : integer | boolean |
Returns the position of the given $string inside the current string object. |
|