Base64 Decode
Syntax:
Base64D(param1)
Converts/Decodes Base64 string to string.
Conversion
Parameters:
Name | Type | Description |
---|---|---|
param1 | string | The Base64 string to be decoded. |
param2 | string | (Optional) Default: UTF-8. The code page name of the preferred encoding (ISO-8859-1, UTF-16, ASCII etc) |
Returns:
string
Base64D(‘SGVsbG8=’)
Base64 Encode
Syntax:
Base64(param1, param2)
Converts string to Base64 string.
Conversion
Parameters:
Name | Type | Description |
---|---|---|
param1 | string | The string to be converted to Base64. |
param2 | string | (Optional) Default: UTF-8. The code page name of the preferred encoding (ISO-8859-1, UTF-16, ASCII etc) |
Returns:
string
Base64(‘Hello’)
CBool
Syntax:
CBool(param1)
Converts param1 to a bool.
Conversion
Parameters:
Name | Type | Description |
---|---|---|
param1 | object | The object to be converted to bool. |
Returns:
bool
CBool(1)
CByte
Syntax:
CByte(param1)
Converts param1 to a byte.
Conversion
Parameters:
Name | Type | Description |
---|---|---|
param1 | object | The object to be converted to byte. |
Returns:
byte
CByte(1)
CChar
Syntax:
CChar(param1)
Converts param1 to a char.
Conversion
Parameters:
Name | Type | Description |
---|---|---|
param1 | object | The object to be converted to char. |
Returns:
char
CChar(1)
CDate
Syntax:
CDate(param1)
Converts param1 to a date.
Conversion
Parameters:
Name | Type | Description |
---|---|---|
param1 | object | The object to be converted to date. |
Returns:
date
CDate(‘2021-01-01’)
CDbl
Syntax:
CDbl(param1)
Converts param1 to a double.
Conversion
Parameters:
Name | Type | Description |
---|---|---|
param1 | object | The object to be converted to double. |
Returns:
double
CDbl(1)
CDec
Syntax:
CDec(param1)
Converts param1 to a decimal.
Conversion
Parameters:
Name | Type | Description |
---|---|---|
param1 | object | The object to be converted to decimal. |
Returns:
decimal
CDec(1)
CFloat
Syntax:
CFloat(param1)
Converts param1 to a float.
Conversion
Parameters:
Name | Type | Description |
---|---|---|
param1 | object | The object to be converted to float. |
Returns:
float
CFloat(1)
CInt
Syntax:
CInt(param1)
Converts param1 to an int.
Conversion
Parameters:
Name | Type | Description |
---|---|---|
param1 | object | The object to be converted to int. |
Returns:
int
CInt(1.0)
CInt(‘1’)
CLong
Syntax:
CLong(param1)
Converts param1 to a long.
Conversion
Parameters:
Name | Type | Description |
---|---|---|
param1 | object | The object to be converted to long. |
Returns:
long
CLong(1)
CShort
Syntax:
CShort(param1)
Converts param1 to a short.
Conversion
Parameters:
Name | Type | Description |
---|---|---|
param1 | object | The object to be converted to short. |
Returns:
short
CShort(1)
CStr
Syntax:
CStr(param1)
Converts param1 to a string.
Conversion
Parameters:
Name | Type | Description |
---|---|---|
param1 | object | The object to be converted to string. |
Returns:
string
CStr(1)
Md5
Syntax:
Md5(param1)
Converts string to MD5 hash.
Conversion
Parameters:
Name | Type | Description |
---|---|---|
param1 | string | The string to be converted to MD5 hash. |
Returns:
string
Md5(‘Hello’)