How to remove string from specific starting string to remain
I have a table column as description, description column having string like
'welcome India ,having wonderful places to visit '
I need output like welcome India
Need to eliminate starting keywords like having upto remaining string
What ever the contents like having after words
How can I do that
2 Answers
Know the answer? Post it. Somebody with the same question will find it here.


Dipa MehtaRank #361 · 6.9K reputationPosted Nov 18, 2019, 10:35 PM EST
There is no method java to replace or remove last character from string, but we can do it using string substring method.
Puneet KankarRank #446 · 5.6K reputationPosted Nov 19, 2019, 5:47 AM EST