Hi, I just wonder how do I wants to removed certain character or word in string. For example, there is string with data "good-morning". Then i wants to remove "-morning" and then the data will become as "good" only. Plz help me
I just wonder how do I wants to removed certain character or word in string.
If your requirement is just the example you set, the way @janhess provided is very good for you. But if your real work have a lot of strings, it suggestion that use column_name.substring(int startIndex, int endIndex) in tMap. Best regards Sabrina
-- Don't forget to give kudos when a reply is helpful and click Accept the solution when you think you're good with it.