var a = "abcdefggdefg32asdf38"; document.write ("origin:" + a + "<br />")document.write("bold:"+a.bold()+" <br />") ;Document.write("Large:"+a.big()+<BR />") ;document.write. />");Document.write("Strike()+" <br />");Document.write("font size: "+ a.fontsize (10) +" <br />");Document.write("Strike()+" <br />");Document.write(writedsize:"+fontizeSize(10)+" à rétruiretu("fontsize:"+. />");Document.write("Strike()+" <br />");Document.write("fontsize:"+a.fontsize(10)+" <br /> "/>");Document.write("font Color:" + a.fontcolor ("# ff0000") + "<bran />");Document.write("Superscript:"+a.sup()++" <br />");Document.write("Subscript:"+a.suub()+" <touppercase (''. />");Document.write("uppercase:"+a.tolowercase()+" <br />");Document.write("return index personnage: "+ a.charat (3) +" <br /> "<br />");'Document.write("upperCase:"+a.lotkecase()+<< <brotbr />"; Caractère: "+ A.Charat (3) +" <Br /> "/>"); // Ici, il devrait être "d" document.write ("return index:" + a.indexof ("f") + "<br />"); // Ici devrait être 5Document.write ("Retour index (Reverse Search):" + a.lastIndexof ("f") + "<br / Br />"); // Ici doit être le cas. 9Document.Write ("Search String:" + A.Search ("F") + "<r />"); // Ici, il devrait être 5, identique à indexof document.write ("" Remplacer la chaîne: "+ a.replace (" A "," A ") +" <br /> "); // Remplacer A dans la chaîne par adocument.write (" return substring: "+ a.slice (1,3) +" /> "); // Remplacez A dans la chaîne par adocument.write (" return substring: "+ a.slice (1,3) +" <br /> "); /> "); // il devrait être BC, renvoyez la sous-chaîne de l'index 1 à 3-1 document.Write (" Split String: "+ a.split (" d "). TOSTRING () +" <br /> "); // s'il vous plaît d en tant que séparateur, divise la chaîne, renvoie le document Array. L'index 1 et la longueur est 2, voici BCDocument.Write ("return substring:" + a.substring (1,3) + "<br />"); // identique à Sclice (), renvoie le document de sous-chaîne.Write ("correspond:" + a.match (// d + /) + "<br />"); // identique à Sclice (), RETOUR Document.Write ("Match:" + a.match (// d + /) + "<br /> />"); // match régulier, renvoie le résultat correspondant, voici 32