MBAt3 Function | |
Return the position of the first occurrence of a substring within a string, starting at a specific position — both the substring and the string can contain double-byte characters.
Namespace:
XSharp.VO
Assembly:
XSharp.VO (in XSharp.VO.dll) Version: 2.19
Syntax FUNCTION MBAt3(
cMBSearch AS STRING,
cMBTarget AS STRING,
wOffset AS DWORD
) AS DWORD
public static uint MBAt3(
string cMBSearch,
string cMBTarget,
uint wOffset
)
Request Example
View SourceParameters
- cMBSearch
- Type: String
The substring to search for. - cMBTarget
- Type: String
The string in which to search. - wOffset
- Type: DWord
The position in the string at which to start searching.
A value of zero corresponds to the first byte.
Return Value
Type:
DWord
The position of the first occurrence of
cMBSearch within
cMBTarget.
If
cMBSearch is not found, MBAt3() returns zero.
Remarks
This function is the same as MBAt(), except that you can specify an offset that tells where to start searching.
Remarks Tip |
---|
This function is the same as At3() since .Net has unicode strings |
Examples See Also