C-Sharp | Java | Python | Swift | GO | WPF | Ruby | Scala | F# | JavaScript | SQL | PHP | Angular | HTML
MySQL LPAD() FunctionLPAD(str,len,padstr) is a Sring function of MySQL. This method returns string 'str' which is left padded to the given length. Syntaxselect lpad(str, len, padstr) Example 1Select lpad('java', 2, '**'); Output: Example 2Select lpad('mysql', 3, '**'); Output:
Next TopicMySQL String
|