StringExtensions.MidA(this string source, int? startIndex) Method
.NET Standard 2.x
Temporarily converts a string to DBCS, then returns bytes from the string, starting from a specified position.
Namespace: PowerScript.Bridge
Assembly: PowerScript.Bridge.dll
Syntax
public static string MidA(this string source, int? startIndex);
Parameters
source
System.String
The string you want to search.
startIndex
System.Int32
An int specifying the position of the first byte you want returned. (The position of the first byte of the string is 0
.)
Returns
System.String
Returns characters in a source string, beginning at the byte specified in the startIndex argument. If startIndex is greater than the number of bytes in source, the MidA
function returns an empty string (""). If any argument's value is null
, MidA
returns null
.
Examples
Coming soon.
Applies to
.NET Standard
2.x