Show / Hide Table of Contents

    StringExtensions.Pos(this string strA, string strB) Method

    .NET Standard 2.x

    Finds one string within another string.

    Namespace: PowerScript.Bridge

    Assembly: PowerScript.Bridge.dll

    Syntax

    public static int? Pos(this string strA, string strB);
    

    Parameters

    strA System.String

    The string in which you want to find strB.

    strB System.String

    The string you want to find in strA.

    Returns

    System.Int32

    Returns an int whose value is the starting position of the first occurrence of strB in strA. If strB is not found in strA, Pos returns 0. If any argument's value is null, Pos returns null.

    Examples

    Coming soon.

    Applies to

    .NET Standard

    2.x

    Back to top Generated by Appeon