Difference between revisions of "BASE64 ENCODE()"
From Lianjapedia
m (Text replace - "Recital" to "Lianja") |
Yvonne.milne (Talk | contribs) (→See Also) |
||
(5 intermediate revisions by 3 users not shown) | |||
Line 1: | Line 1: | ||
==Purpose== | ==Purpose== | ||
− | + | Function to encode a string with MIME base64 | |
− | + | ||
==Syntax== | ==Syntax== | ||
BASE64_ENCODE(<expC>) | BASE64_ENCODE(<expC>) | ||
− | |||
==See Also== | ==See Also== | ||
− | [[BASE64_DECODE()]] | + | [[BASE64_DECODE()]], [[BASE64_ENCODE_FILE()]], [[BASE64_ENCODE_IMAGE()]], [[STRCONV()]] |
− | + | ||
==Description== | ==Description== | ||
Line 15: | Line 12: | ||
The BASE64_DECODE() function is used to decode back to the string. | The BASE64_DECODE() function is used to decode back to the string. | ||
− | |||
==Example== | ==Example== | ||
Line 26: | Line 22: | ||
</code> | </code> | ||
− | |||
− | |||
− | |||
[[Category:Documentation]] | [[Category:Documentation]] | ||
[[Category:Functions]] | [[Category:Functions]] | ||
+ | [[Category:Lianja VFP Extensions]] | ||
+ | [[Category:VFP Function Extensions]] |
Latest revision as of 12:05, 23 November 2021
Contents
Purpose
Function to encode a string with MIME base64
Syntax
BASE64_ENCODE(<expC>)
See Also
BASE64_DECODE(), BASE64_ENCODE_FILE(), BASE64_ENCODE_IMAGE(), STRCONV()
Description
The BASE64_ENCODE() function is used to encode a character string with MIME base64.
The BASE64_DECODE() function is used to decode back to the string.
Example
// Write encoded password to a file m_pass=space(10) @10,10 get m_pass read strtofile(base64_encode(m_pass),"password.txt")