Contact: aviboots(AT)netvision.net.il
31,104 questions
40,777 answers
573 users
// string strrchr(string $haystack, mixed $needle) $s = "Luke the Skywalker and Yoda the Jedi"; echo strrchr($s, 'e'); /* run: edi */
// string strrchr(string $haystack, mixed $needle) $s = "Luke the\n Skywalker\n and\n Yoda the Jedi"; echo strrchr($s, 10); // \n = 10 ascii /* run: Yoda the Jedi */