|
<< Index >> |
FutureBasic |
instr, instr$ | function | |
|
=
(
, searchOptions
] )
=
(
)
instr parameters
Parameter |
Description |
startPos |
The character position to start the search. If startPos is less than 0, it's treated as 0 for a forward search, and the last character for a backward search. |
targetString | The string to search. |
searchString | The string to search for. If the |
searchOptions | Search options can be combined using '+': NSLiteralSearch NSBackwardsSearch NSAnchoredSearch NSNumericSearch NSDiacriticInsensitiveSearch NSWidthInsensitiveSearch NSForcedOrderingSearch NSRegularExpressionSearch |
instr$ parameters
Parameter |
Description |
startPos | The character position to start the search. If startPos is less than 1, it's treated as 1. |
targetString | The string to search. |
searchString | The string to search for. |