@tempots/std
deleteStringBefore() function
If present, it removes the toremove
text from the beginning of value
.
Signature:
deleteStringBefore: (value: string, toremove: string) => string
Parameters
Parameter |
Type |
Description |
---|---|---|
value |
string |
The string to remove the text from. |
toremove |
string |
The text to remove from the beginning of |
Returns: string
The string with the text removed.