try to compile the string to range functions