StringExtensions.PosA(this string strA, string strB) Method
.NET Standard 2.x
Temporarily converts a string from Unicode to DBCS based on the current locale, then finds one string within another string.
Namespace: PowerScript.Bridge
Assembly: PowerScript.Bridge.dll
Syntax
public static int? PosA(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