Difference between revisions of "BASE64 DECODE()"

From Lianjapedia
Jump to: navigation, search
 
(See Also)
 
(7 intermediate revisions by 3 users not shown)
Line 1: Line 1:
 
==Purpose==
 
==Purpose==
Decode a string encoded with MIME base64
+
Function to decode a string encoded with MIME base64
 
+
  
 
==Syntax==
 
==Syntax==
 
BASE64_DECODE(<expC>)
 
BASE64_DECODE(<expC>)
 
  
 
==See Also==
 
==See Also==
[[BASE64_ENCODE()]]
+
[[BASE64_ENCODE()]], [[BASE64_ENCODE_FILE()]], [[BASE64_ENCODE_IMAGE()]], [[STRCONV()]]
 
+
  
 
==Description==
 
==Description==
Line 15: Line 12:
  
 
The BASE64_ENCODE() function is used to encode with MIME base64.
 
The BASE64_ENCODE() function is used to encode with MIME base64.
 
  
 
==Example==
 
==Example==
Line 29: Line 25:
 
</code>
 
</code>
  
 
==Products==
 
Recital, Recital Server
 
 
[[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

Purpose

Function to decode a string encoded with MIME base64

Syntax

BASE64_DECODE(<expC>)

See Also

BASE64_ENCODE(), BASE64_ENCODE_FILE(), BASE64_ENCODE_IMAGE(), STRCONV()

Description

The BASE64_DECODE() function is used to decode a string encoded with MIME base64.

The BASE64_ENCODE() function is used to encode with MIME base64.

Example

// Check password against file
m_pass=space(10)
@10,10 get m_pass
read
if m_pass <> base64_decode(filetostr("password.txt"))
    // invalid password
    return
endif