Sun Chili!Soft ASP Sun Chili!Soft
ASP Sun Microsystems

 

JScript String Object small Method

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

Syntax: JScript String Object small Method

strVariable.small( )

"String Literal".small( )

Arguments: JScript String Object small Method

strVariable

The name of a String object.

Remarks: JScript String Object small Method

The example that follows demonstrates how the small method works:

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 already exists.

Copyright 2002 Sun Microsystems, Inc. All rights reserved. Legal Notice.