# string.ltrim()

Removes leading spaces from a string.

```
string.ltrim( )
```

**Returns:** string

*This function does not take any arguments.*

# Examples

```1
	// create variable with a string of text that has leading and trailing spaces
	str = " I Love Lucee!  ";
	// output variable
	writeDump("-" & str & "-");
	// output variable without leading spaces
	writeDump("-" & str.LTrim() & "-");
```

# Categories

[Strings](../../../categories/string.md)

# See Also

[LTrim()](../../functions/ltrim.md), [String](../string.md)