Checks whether the given Value can be converted to a DateTime.
Syntax
CanBeDateTime ( Value [, Format] [, Language] )
Parameters
Value
The Value to check.
Type: String
Format (optional)
The Format of the Value.
Type: String
Language (optional)
The Culture of the Value.
Type: Language
Return Type
Boolean
CanBeInt
Checks whether the given Value can be converted to an Int.
Syntax
CanBeInt ( Value [, Language] )
Parameters
Value
The Value to check.
Type: String
Language (optional)
The Culture of the Value.
Type: Language
Return Type
Boolean
FromBase64String
Converts the given Base64 value to a string.
As an example the Base64 value VGhpcyBpcyBhIHRlc3Q (UTF-8 default encoding)would be converted into String text This is a test . See ToBase64String for vice versa conversion.
Syntax
Parameters
Value
The Value to convert.
Type: String
EncodingCodePage (optional)
The encoding used for the conversion. Uses UTF-8 encoding by default.
Type: Integer
Return Type
String
ToBase64String
Converts the given value to a Base64 string.
As an example the String text This is a test would be converted using UTF-8 encoding by default into VGhpcyBpcyBhIHRlc3Q= . See FromBase64String for vice versa conversion.
Syntax
Parameters
Value
The Value to convert.
Type: String
EncodingCodePage (optional)
The encoding used for the conversion. Uses UTF-8 encoding by default.
Type: Integer
Return Type
Integer
ToDateTime
Convert a String to a DateTime.
Syntax
Parameters
Value
The Value to convert.
Type: String
Format (optional)
The Format of the Value to convert.
Type: String
Language (optional)
The Culture of the Value.
Type: Language
Return Type
DateTime
ToDouble
Convert a Value to a Double.
Syntax
Parameters
Value
The Value to convert.
Type: Any
Language (optional)
The Culture of the Value.
Type: Any
Return Type
Double
ToFloat
Convert a Value to a Float.
Syntax
Parameters
Value
The Value to convert.
Type: Any
Language (optional)
The Culture of the Value.
Type: Language
Return Type
Float
ToGuid
Converts a value to a Guid. The Guid has to be of valid format.
Syntax
Parameters
Value
The Value to convert.
Type: String
Format (optional)
The Format of the Value to convert.
Type: String
Return Type
Guid
ToInt
Convert a Value to an Int.
Syntax
Parameters
Value
The Value to convert.
Type: Any
Language (optional)
The Culture of the Value.
Type: Language
Return Type
Int
ToString
Converts a value to a string. Can be formatted using the Format element. The language element determines the language if more than language are available.
Syntax
Parameters
Value
String used as basis for the operation.
Type: Any
Format (optional)
Format element which determines the format of the String.
Type: String
Language (optional)
Determines the language of the String.
Type: Language
Return Type
String
ToTimeSpan
Convert a String to a TimeSpan
Syntax
Parameters
Value
The Value to convert.
Type: String
Format (optional)
The Format of the Value to convert.
Type: String
Language (optional)
The Culture of the Value.
Type: Language
Return Type
TimeSpan
CanBeDecimal
Checks whether the given Value can be converted to a Decimal.