String.removeLeft
removeLeft($prefix) -> string
Description
Remove $prefix
from the beginning of the string if it exists.
'#throwbackthursday'.removeLeft('#') //= 'throwbackthursday' 'throwbackthursday'.removeLeft('#') //= 'throwbackthursday'
Remove $prefix
from the beginning of the string if it exists.
'#throwbackthursday'.removeLeft('#') //= 'throwbackthursday' 'throwbackthursday'.removeLeft('#') //= 'throwbackthursday'