Topics
All
MacOS
(Only)
Windows
(Only)
Linux
(Only, Not)
iOS
(Only, Not)
Components
Crossplatform Mac & Win
Server
Client
Old
Deprecated
Guides
Examples
Videos
New in version:
12.1
12.2
12.3
12.4
12.5
13.0
13.1
13.2
13.3
13.4
Statistic
FMM
Blog
Queries the index number of a name.
Component | Version | macOS | Windows | Linux | Server | iOS SDK |
RegEx | 4.4 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes |
Parameter | Description | Example |
---|---|---|
RegExRef | The reference number for the regular expression returned from RegEx.Compile. | $regex |
Name | The name of the substring to find. | "test" |
Returns number or error.
Test with a named substring:
$regex = MBS("RegEx.Compile"; "H(?P<name>.*)o"; 0)
$index = MBS("RegEx.StringNumber"; $regex; "name")
# index is now 1 as this is first substring.
This function checks for a license.
Created 26th October 2014, last changed 26th October 2014