181k views
2 votes
How to delete brackets in string java.

1 Answer

1 vote

Answer:

use this code test = test.replaceAll(''('','''');

User Rohit Goel
by
4.3k points