Added single getInflection method for string