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