4
Answers

Remove last word from string

Photo of Abdu Rafeeq

Abdu Rafeeq

13y
26.6k
1
i want to remove last word from a string after a particular character"-"

my string="Chain - 99.6"

i want to remove - 99.6 from given string.

how to delete string after a particular character ex:"-"

Answers (4)