Previous PageNext Page

7.24.21 small Method

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

Syntax

strVariable.small( )

"String Literal".small( )

Arguments

strVariable
The name of a String object.

Remarks

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 © 2000 Chili!Soft

Previous PageTop Of PageNext Page