IsBase64

IsBase64 1:

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

IsBase64 2: Return value

Name

Type

IsBase64

BOOL

IsBase64 3:/IsBase64 4: Inputs/Outputs

Name

Type

sBase64

STRING

Sample call:

bIsBase64 := fbJson.IsBase64('SGVsbG8gVHdpbkNBVA==');