IsBase64

This method checks whether the transferred string corresponds to the Base64 format. If that is the case, the method returns TRUE, otherwise it returns FALSE.
Syntax
METHOD IsBase64 : BOOL
VAR_IN_OUT CONSTANT
sBase64 : STRING;
END_VAR
Return value
Name | Type |
---|---|
IsBase64 | BOOL |
/
Inputs/Outputs
Name | Type |
---|---|
sBase64 | STRING |
Sample call:
bIsBase64 := fbJson.IsBase64('SGVsbG8gVHdpbkNBVA==');