Switching to using a helper function instead of manually converting the string to...