You can use @UrlEncode(""; var) for proper encoding URLs -- like JavaScript function escape().
Here is a version of the often needed counterpart @UrlDecode() - like JavaScript function unescape().
HEXVAL := 0:1:2:3:4:5:6:7:8:9:10:11:12:13:14:15;
LMBCS := @Char(HEXVAL*16 *+ HEXVAL);
CODE := @URLEncode(""; LMBCS);
@ReplaceSubstring(var; CODE; LMBCS)
Requires Free Membership to View
Register today to access targeted resources from our editorial writers and independent industry experts focused on Lotus Domino, Notes, Workplace and other related technologies.
This was first published in February 2001