PHP String Function and Work

FunctionWork
strlen()Count character
str_word_count()Count the word
strrev()Reverse the string
strrpos()Search the position of character/word (last)
stripos()Search the position of character/word (first)
strripos()Search the position of character/word (last) – Case Insensetive
str_repeat()Repeat the string

Leave a Comment