PHP Code Snippets Tagged with string
(4)
This is a very short and simple snippet that will take a given string, $string, and if it is plural the 's' will be removed from the $string.
+ 0 likes
simple encryption example. output is the sum of 2 and the ascii value of each character.
for example, below is listed a string of characters and their ascii value.
+ 2 likes
This function extracts all alpha numeric letters and numbers from a string. Basically, it takes out everything that is not an alpha-numeric character, including spaces.
This function is useful in..
Tags:
string
+ 0 likes


