ltrim
Remove spaces (or other characters) from the beginning of the string
ltrim()
function removes whitespace characters or other predefined characters to the left of the string.
rtrim()
- Removes whitespace or other predefined characters to the right of the stringtrim()
- Remove whitespace or other predefined characters on both sides of the stringltrim ( string , charlist )
parameter | describe |
---|---|
string | Required. Specifies the string to be checked. |
charlist |
Optional. Specifies which characters to delete from the string. If this parameter is omitted, all the following characters are removed:
|