Method |
Description |
|
crlfize ( string $str ) : string |
Converts LF string to CRLF string |
|
fillTemplateString ( array $variables, string $templateString ) : string |
Fills template string placeholders with variables provided in $variables array. |
|
isSerializedValue ( $value ) : boolean |
Returns true if string is a serialized value (object, array, primitive types, . |
|
pluralize ( string $string ) : string |
Converts given noun to plural form. |
|
replaceFirst ( string $needle, string $replace, string $haystack ) : string |
Replaces the first occurence. |
|
substringFromTo ( string $str, integer $from, integer $to ) : string |
An alternative to the built-in PHP function substr. |
|
verbToPastTense ( string $verb ) : string |
Converts given verb to past sense. E.g., "install" -> "installed",
"activate" -> "activated" etc. |
|