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
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked due to inactivity on Jan 21 2015
Added on Dec 17 2014
8 comments
1,827 views