Chapter Contents |
Previous |
Next |
HTMLENCODE |
Category: | Web Tools |
Syntax | |
Arguments | |
Details | |
Examples | |
See Also |
Syntax |
HTMLENCODE(argument) |
Details |
HTMLENCODE can encode the following three characters:
Character | encodes as ... | |
---|---|---|
& | & | |
< | < | |
> | > |
Note: The encoded string may be longer than the original string. Ensure
that you consider the additional length when you use this function.
Examples |
SAS Statements | Results |
---|---|
x1=htmlencode ('not a <tag>'); put x1; |
not a <tag> |
x2=htmlencode ('&'); put x2; |
& |
x3=htmlencode ('normal text'); put x3; |
normal text |
See Also |
Function:
|
Chapter Contents |
Previous |
Next |
Top of Page |
Copyright 1999 by SAS Institute Inc., Cary, NC, USA. All rights reserved.