Difference between revisions of "Base64ToStr"
From SCAR Divi Manual
(Created page with "==Definition== <source lang="scar" lines="false"> function Base64ToStr(const Str: AnsiString): AnsiString; </source> ==Availability== SCAR Divi 3.31 > Current ==Description== D...") |
(No difference)
|
Latest revision as of 16:04, 9 February 2012
Definition
function Base64ToStr(const Str: AnsiString): AnsiString;
Availability
SCAR Divi 3.31 > Current
Description
Decodes a given string Str from base64 format to a regular string. If the input string was not in hexadecimal format, the function returns an empty string. The entered string is case-sensitive. This process can be reversed with StrToBase64.
Example
begin WriteLn(Base64ToStr('SGVsbG8gV29ybGQh')); end.
Output:
Hello World!