ENCODE(), ROT13, BASE64, MIME (not included in filePro Lite)

v5.7.0 \r str = ENCODE(str,exp) \r - Converts the text found in the

string in exp by method str. The resulting str is returned.

Method str must be either "ROT13" or "BASE64".

Example:

then: a = "this is a test"

then: x = ENCODE("ROT13",a) ' x contains "guvf vf n grfg"

then: x = ENCODE("BASE64",a) ' x contains "dGhpcyBpcyBhIHRlc3Q="

The ROT13 method is a simple letter substitution cipher,

a=n, b=o, c=p, d=q, ..., m=z, n=a, ..., y=l, z=m

All numbers and symbols remain unchanged.

The BASE64 method (also known as MIME) was devoloped to allow

binary data to be transfered over media that are designed to deal

with text data.

see: DECODE()