@tempots/std

deleteFirstFromString() function

If present, it removes the first occurrence of toremove from value.

Signature:

deleteFirstFromString: (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 value.

Returns: string

The string with the text removed.