# The String trimStart() method

> Learn how the JavaScript trimStart() method returns a new string with the white space removed only from the start, leaving any trailing white space in place.

Author: [Flavio Copes](https://flaviocopes.com/about/) | Published: 2019-03-11 | Topics: [JavaScript](https://flaviocopes.com/tags/js/) | Canonical: https://flaviocopes.com/javascript-string-trimstart/

Return a new string with removed white space from the start of the original string

```js
'Testing'.trimStart() //'Testing'
' Testing'.trimStart() //'Testing'
' Testing '.trimStart() //'Testing '
'Testing '.trimStart() //'Testing'
```
