Microsoft® JScript
fixed Method

See Also

Language Reference 

Description

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

Syntax

strVariable.fixed( )
"String Literal".fixed( )

Remarks

The example that follows demonstrates how the fixed method works:


var strVariable = "This is a string object"
strVariable.fixed( )

The value of strVariable after the last statement is: <tt>This is a string object</tt>.

No checking is done to see if the tag already exists.


© 1996 by Microsoft Corporation.
Casa de Bender