Categories
How to find out the number of a certain character and a certain word and operate on these numbers?
1) there is www.php.su/substr for the symbol, but how to get the number? 2) How to find out what sequence number the N word ends with?
Answer the question
In order to leave comments, you need to log in
www.php.su/strpos + www.php.su/strlen I only recommend using mb_string: mb_substr, mb_strpos and mb_strlen respectively. Otherwise, on a multibyte encoding, it will not work as you expect.
Didn't find what you were looking for?
Ask a Question
731 491 924 answers to any question