implemented string utility class