Another method of repeating strings