Skip to Main Content

How can I rebuild a string?

2801625Dec 17 2014 — edited Dec 24 2014

How can I rebuild the string from the code below? I spilt the string to remove the "," now I would like to rebuild it.

  String relativeDN = "cn=abc,dn=xyz,ou=abc/def";

  String[] stringData = relativeDN.split(",");

for (String stringoutput : stringData){

System.out.println(stringoutput);

  }

  String escapedSearchFilter =

  }

}

Comments
Post Details
Added on Dec 17 2014
8 comments
1,817 views