repeatify method on string value