Actually the method to use is stringUtil.transform