WireTextTools::strrchr()

Find the last occurrence of a character in a string

Usage

$false = $wireTextTools->strrchr(string $haystack, string $needle);

Arguments

NameType(s)Description
$haystackstring
$needlestring

Only first given character used

Return value

false string


WireTextTools methods and properties

API reference based on ProcessWire core version 3.0.252