Show / Hide Table of Contents

    StringExtensions.Asc(this string str) Method

    .NET Standard 2.x

    Converts the first character of a string to its Unicode code point. A code point is the numerical short value given to a Unicode character.

    Namespace: PowerScript.Bridge

    Assembly: PowerScript.Bridge.dll

    Syntax

    public static ushort? Asc(this string str);
    

    Parameters

    str System.String

    The string for which you want the code point value of the first character.

    Returns

    System.Int16

    Returns the code point value of the first character in string. If str is null, Asc returns null.

    Examples

    Coming soon.

    Applies to

    .NET Standard

    2.x

    Back to top Generated by Appeon