DECODE() (not included in filePro Lite)

v5.7.0   \r str = DECODE(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". Used to

restore ENCODED() data to it's original form.

Example:

      then: a = "guvf vf n grfg"

      then: x = DECODE("ROT13",a)  ' x contains "this is a test"

      then: a = "dGhpcyBpcyBhIHRlc3Q="

      then: x = DECODE("BASE64",a) ' x contains "this is a test"

 

see (ENCODE)