stringField
The stringField function is used for retrieving specific "words" from within a string.
mixed
stringField
(string $string, string $field, [string $sep = ' '])
-
string
$string: Input string to get field from
-
string
$field: numerical position in string to return, or "END" to return last word of string. If $field is negative, then counting begins from the end of the string backwards.
-
string
$sep: Field seperator for string
|