The function provided by marcokonopacki at hotmail dot com isn't really a reverse-version of strrchr(), rather a reverse version of strchr(). The strchr() function searches for the first occurrence of a string inside another string. This function is an alias of the strstr() function.
Mit strchr() kann man innerhalb einer Zeichenkette (haystack) ein Zeichen oder einen String (needle) finden. Als Ergebnis gibt die Funktion die Zeichenkette ab . As it currently stands, this question is not a good fit for our QA format. We expect to be supported by facts, references, or expertise, but this . The strchr() function is used to get first occurrence of a string inside another string.
PHP Function Strchr - A simple and short PHP tutorial and complete reference manual for all built-in PHP functions. This tutorial is designed for beginners to . This question already has an answer here: jQuery or JavaScript strstr. You should try the indexOf method.
Creative Commons License 2014-20Michel Corne.
Keine Kommentare:
Kommentar veröffentlichen
Hinweis: Nur ein Mitglied dieses Blogs kann Kommentare posten.