Show / Hide Table of Contents

    StringExtensions.Mid(this string source, int? startIndex) Method

    .NET Standard 2.x

    Obtains characters from a specified position in a string.

    Namespace: PowerScript.Bridge

    Assembly: PowerScript.Bridge.dll

    Syntax

    public static string Mid(this string source, int? startIndex);
    

    Parameters

    source System.String

    The string from which you want characters returned.

    startIndex System.Int32

    An int specifying the position of the first character you want returned. (The position of the first character of the string is 0).

    Returns

    System.String

    Returns characters specified in source starting at character startIndex. If startIndex is greater than the number of characters in string, the Mid function returns the empty string (""). If any argument's value is null, Mid returns null.

    Examples

    Coming soon.

    Applies to

    .NET Standard

    2.x

    Back to top Generated by Appeon