var a = "abcDEfGgdefg32asdf38";document.write("origin:"+a+"<br />")document.write("bold:"+a.bold()+"<br />");document.write("large:"+a.big()+"<br />");document.write("italics()+"<br />");document.write("strike()+"<br />");document.write("font size:"+a.fontsize(10)+"<br />");document.write("strike()+"<br />");document.write("fontsize:"+a.fontsize(10)+"<br />");document.write("strike()+"<br />");document.write("fontsize:"+a.fontsize(10)+"<br />" />");document.write("Font Color:"+a.fontcolor("#ff0000")+"<br />");document.write("Superscript:"+a.sup()+"<br />");document.write("Subscript:"+a.sub()+"<br />");document.write("Uppercase:"+a.toUpperCase()+"<br />");document.write("Uppercase:"+a.toLowerCase()+"<br />");document.write("Return index character:"+a.charAt(3)+"<br />"<br />");document.write("Uppercase:"+a.toLowerCase()+"<br />");document.write("Return index character:"+a.charAt(3)+"<br />" />");//Here it should be "D"document.write("Return index:"+a.indexOf("f")+"<br />");//Here it should be 5document.write("Return index (reverse search):"+a.lastIndexOf("f")+"<br />");//Here it should be 9document.write("Search string:"+a.search("f")+"<br />");//Here it should be 5, the same as indexOf document.write("Replace string:"+a.replace("a","A")+"<br />");//Replace a in the string with Adocument.write("Return substring:"+a.slice(1,3)+"<br />");//Replace a in the string with Adocument.write("Return substring:"+a.slice(1,3)+"<br />"); />");//It should be bc, return the substring from index 1 to 3-1 document.write("Split string:"+a.split("D").toString()+"<br />");//Please D as a splitter, split the string, return the array document.write("Return substring:"+a.substr(1,2)+"<br />");//Return the substring, starting from index 1 and length is 2, here is bcdocument.write("Return substring:"+a.substring(1,3)+"<br />");//Same as sclice(), return the substring document.write("Match:"+a.match(//d+/)+"<br />");//Same as sclice(), return the substring from index 1 to 3-1 document.write("Match:"+a.match(//d+/)+"<br /> />");//Regular match, return the matching result, here is 32