StringExtensions.LastPos(this string strA, string strB) Method
.NET Standard 2.x
Finds the last position of a target string in a source string.
Namespace: PowerScript.Bridge
Assembly: PowerScript.Bridge.dll
Syntax
public static int? LastPos(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 last occurrence of strB in strA. If strB is not found in strA, LastPos returns 0. If any argument's value is null, LastPos returns null.
Examples
Coming soon.
Applies to
.NET Standard
2.x