Converted string comparison functions to IOFunc