Language GuideBuilt-in TypesStringMethodscloneOn this pagecloneClone this string i times. "hello".clone(3); //"hellohellohello" Syntax clone(count) Returns A new string containing the specified number of copies of the given string.