Lazy dog string method and sub solution