7.24.13 italics Method

Places HTML <I> tags around text in a String object.
Syntax
strVariable.italics( )
"String Literal".italics( )
Arguments
- strVariable
- The name of a String object.
Remarks
The example that follows demonstrates how the italics method works:
var strVariable = "This is a string";
strVariable = strVariable.italics( );
The value of strVariable after the last statement is:
<I>This is a string</I>
No check is done to see if the tag already exists.
Copyright © 2000 Chili!Soft
|