[v0.0.1] added generate method to String Class.