MySQL Trim() FunctionThe trim() is a String function of MySQL. This function removes the blank spaces from the head and tail of the given string. SyntaxParameter:str: string to be trimmed leading: it removes blank spaces from the front of string trainling: it removes blank spaces from the end of string both: it removes blank spaces from front and end of the string Example 1Output: Example 2Output: Example 3Output: Example 4Output:
Next TopicMySQL String
|