Synopsis:
new_str=strstrip(str[,char])
Arguments:
str - The string from which to strip the characters
[char] - optional argument specify the character to strip from str (defaults to space character)
Description: This function removed all occurances of the character char from the specified string str. If char is not specified then it defaults to the space character.
For example:
string="the cat sat on the mat";
// This will return "thecatsatonthemat"
new_str=strstrip(string);
// This will return "cat sat on mat"
new_str=strstrip(string,"the ");
Returns: Returns the new string with specified character stripped out.