Hi I have a method B using String.format( ) on some String arrays coming out from other method A. Now String arr[] returned by A ,can be { "mov" ,"abc"} or {"%mov", "%abc" ,"adc"}.I have no control over it. In my method B i do - String rx=String.format("("+ StringUtils.join(arr,"|"))+")"; but it fails with UnknownformatException when it reads "%mov" kind. How can ...