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