PHP Php 5 Substring Functions – String Function

Function                    Descriptionsubstr_count()              Counts the number of substring occurrencesstrstr()                    Finds the first occurrence of a stringstrchr()                    Can be used as an alias of strstr()strrchr()                   Finds the last occurrence of a character in a stringstristr()                   Performs the same functionality as strstr() but is case-insensitivesubstr_replace()            Replaces text within a portion of a stringstrops()                    Finds the position of the first occurrence of a stringsubstr()                    Returns a piece of a string

Enjoyed this post? Share it!


Leave a comment

Your email address will not be published.