WireTextTools::strrchr()
Find the last occurrence of a character in a string
Usage
$false = $wireTextTools->strrchr(string $haystack, string $needle);
Arguments
Name | Type(s) | Description |
---|---|---|
$haystack | string | |
$needle | string | Only first given character used |
Return value
false
string
WireTextTools methods and properties
API reference based on ProcessWire core version 3.0.252