How can I transform the string
st = "[123, 123, 134, 90]"
into
s = "123 123 134 90"
How can I transform the string
st = "[123, 123, 134, 90]"
into
s = "123 123 134 90"
replace " " with ""
replace "," with " "
replace "[" with ""
replace "]" with ""
With Thanks to Maroun Maroun
String st = "[123, 123, 134, 90]"
String s = st.replaceAll("\\["," ").replaceAll("\\]"," ").replaceAll(","," ");