27422 shaares
In most cases we have to find the information related to string like string length, get words counts, etc. PHP has a bunch of functions which used to get the infomation from the string. Below are those functions: strlen(), count_chars(), str_word_count(), substr_count(), chr(), ord()