var a = "abcdefgggdefg32asdf38" ؛ document.write ("Origin:"+a+"<br />")document.write("bold:"+a.bold()+" <br /> # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # )BRITION. />") ؛ document.write("strike()+" <br />") ؛ document.write("font size: />") ؛ document.write("strike()+" <br />") ؛ document.write("fontsize :++a.fontsize(10)+" <br /> "/>") ؛ document.write("font color:"+a.fontcolor ("#ff0000")+" />") ؛document.write("superscript :++a.sup()+" <br />") ؛ document.write("subscript :++a.sub()+" <br />") ؛ document.write("uppercase :+a.touppercase()+" <bort />") ؛ document.write("uppercase:"+a.toLowercase()+" <br />") ؛ document.write("riturn index: "+A.Charat (3)+" <br /> "<br />") ؛ endocument.write("itrite: الحرف: "+A.Charat (3)+" <br/> "/>") ؛ // هنا يجب أن يكون "d" document.write ("فهرس الإرجاع:"+A.Indexof ("f")+"<br/>") ؛ 9document.write ("سلسلة البحث:"+A.Search ("F")+"<br/>") ؛ // يجب أن يكون 5 ، مثل indexof document.write ("استبدال السلسلة:"+a.replace ("a" ، "a")+"<br/>") ؛ // استبدال السلسلة مع adocument.write ( ] ] الفهرس 1 والطول هو 2 ، هنا bcdocument.write ("الإرجاع substring:"+A.SubString (1،3)+"<br/>") ؛ // نفس sclice () ، إرجاع المستند الفرعي. write ("Match:"+A.Match (// d+/)+"<br/>") ؛ document.write ("Match:"+A.Match (// d+/)+"<br/>/>")