Salesforce

UnicodeVal (Magic xpi 4.5)

« Go Back

Information

 
Created ByKnowledge Migration User
Approval Process StatusPublished
Objective
Description

UnicodeVal (Magic xpi 4.5)

Converts a Unicode character to its corresponding numeric value.

Syntax:

UnicodeVal (Alpha unicodechar)

Parameters:

unicodechar: A Unicode character whose value is translated into a numeric format. If the input string contains more than one character, the first character is returned.

Returns:

This function returns a decimal number representing the Unicode value.

If the string is empty the function returns 0. If the string evaluates to NULL, the returned value is NULL. In other cases the numeric value of the first character in the string is converted to a numeric format.

See also:

UnicodeChr

Reference
Attachment 
Attachment