4
Answers

Remove last word from string

Ask a question
Abdu Rafeeq

Abdu Rafeeq

12y
15.8k
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)