MySQL LPAD() Function

LPAD(str,len,padstr) is a Sring function of MySQL. This method returns string 'str' which is left padded to the given length.

Syntax

Example 1

Output:


MySQL String LPAD() Function

Example 2

Output:


MySQL String LPAD() Function
Next TopicMySQL String




Latest Courses