C-Sharp | Java | Python | Swift | GO | WPF | Ruby | Scala | F# | JavaScript | SQL | PHP | Angular | HTML
MySQL RIGHT() FunctionThe Right() is a String function of MySQL. This method returns allows you to extract a substring from a string, starting from the right side of the string. Syntaxselect right(str, len); ParametersStr: string to be extracted. Len: length of character to be extracted. ReturnsThis function will return the string if the number of character exceeds the length of the string. Example 1Select right('TheDeveloperBlog', 5); Output: Example 2Select right('mysql', 3); Output:
Next TopicMySQL String
|