Fix a StringUtil regression from the arm-noglsl merge Fixes issue 6048. Thanks to Starscream for locating the regression.