Are there any alternative way of using the following? I am using Apache commons.lang jar for StringUtils.join
however I do have a problem with class loading to Weblogic server and hence it wouldn't be good to use StringUtils.join.
So instead I am looking alternative ways of achieving the following
String pattern = "\\b(" + StringUtils.join(tokens, "|")+"\\b";