sub Method
Description
Places the HTML <SUB> tag around the text in the object.Syntax
strVariable.sub( )
"String Literal".sub( )Remarks
Below is an example of the effects of the sub method:
var strVariable = "This is a string object" strVariable.sub()The value of strVariable after the last statement above is: <SUB>This is a string object</SUB>
No checking is done to see if the tag already exists in the object.