expose processString helper