@tempots/std
deleteStringAfter() function
If present, it removes the toremove
text from the end of value
.
Signature:
deleteStringAfter: (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 end of |
Returns: string
The string with the text removed.