As you know, the toString() method called on a Vector output this
[foo, bar, item, item4]
This is pretty basic but, how could I get this instead (removing white spaces between elements)?
[foo,bar,item,item4]
Thank you all
EDIT: return nom.toString().replace(” “, “”); is not a solution !
Wrap your vector class and override toString.