String helper class.
package | Core |
---|---|
subpackage | String |
iReplaceOnce(string $find, string $replace, string $subject) : string
Caution: This function only takes strings as parameters, not arrays!
string
String to find
string
String to replace
string
String to process
string
Processed stringiReplaceOnceReverse(string $find, string $replace, string $subject) : string
Caution: This function only takes strings as parameters, not arrays!
string
String to find
string
String to replace
string
String to process
string
Processed stringposReverse(string $haystack, string $needle, int $start) : string
NOTE: The original strrpos-Function of PHP4 only finds a single character as needle.
string
String to search in
string
String to search for
int
Offset
string
Processed string