Checks if a string ends with a certain character/string
Checks if a string ends with a certain character or string
if endsWith($string, "test") { // do this code }
Last updated 4 years ago
Was this helpful?