Show / Hide Table of Contents

    StringExtensions.Long(this string str) Method

    .NET Standard 2.x

    Converts a string whose value is a number into an int.

    Namespace: PowerScript.Bridge

    Assembly: PowerScript.Bridge.dll

    Syntax

    public static int? Long(this string str);
    

    Parameters

    str System.String

    A string whose value you want returned as an int value.

    Returns

    System.Int32

    Returns the value of str as a long if it succeeds and 0 if str is not a valid number or if it is an incompatible datatype.

    Examples

    Coming soon.

    Applies to

    .NET Standard

    2.x

    Back to top Generated by Appeon