Abdu Rafeeq

Abdu Rafeeq

  • NA
  • 113
  • 264.1k

Remove last word from string

Dec 2 2011 11:24 PM
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)