Please answer this simple SPAM challenge: nine minus seven? (Example: nine)
If you would like to remove characters from the start or end of a string, try the substr() function. For example, to remove the last three characters from a string: $string = "To be or not to be."; $string = substr ($string, 0, -3);
<< Back to user notes page