Removing parenthesis and its content from String

  • Thread starter Thread starter Kevin993
  • Start date Start date
K

Kevin993

Guest
Greetings,

This is our source string : "abcd (test)"

I need to remove :

1 - the space behind the parenthesis

2- the parenthesis and its content

So, our target string should be just : "abcd"


P.S there is always a space before the parenthesis.

Also Note that "abcd" and the string in the parenthesis are just examples, so : different strings , different lengths!



Thanks in advance.

Continue reading...
 
Back
Top