refactor to use the webforge common string functions in inflector