-
Recent Posts
Tags
Recent Comments
Archives
Categories
Meta
Tag Archives: php string
Cut A String by a number of words PHP
Cut_string_by_words function cuts a string by a number of words specified in $num_of_words argument. Sample Code:
PHP remove extra space in a string
The function remove_extra_space removes extra spaces in a string. If you want to completely remove all space(s) in a string then change then use the function below.