Removes a value from the start of a string.
If the string does not start with the value, nothing is done.
13.0.0
removeEnd
String with the value removed from the start.
removeStart("FooBar", "Foo")// => "Bar"removeStart("FooBar", "Bar")// => "FooBar"removeStart("FooBar", "Buzz")// => "FooBar"
String to check.
Value to remove.
Generated using TypeDoc
Removes a value from the start of a string.
If the string does not start with the value, nothing is done.
Since
13.0.0
See
removeEnd
Returns
String with the value removed from the start.
Example