Export (0) Print
Expand All
Expand Minimize

small Method (Windows Scripting - JScript)

Places HTML <SMALL> tags around text in a String object.

                      strVariable.small( )
"String Literal".small( )

The following example illustrates the use of the small method:

var strVariable = "This is a string";
strVariable = strVariable.small( );

The value of strVariable after the last statement is:

<SMALL>This is a string</SMALL>

No checking is done to see if the tag has already been applied to the string.

Community Additions

ADD
Show:
© 2014 Microsoft