Campbell CR800 Specifications Page 269

  • Download
  • Add to my manuals
  • Print
  • Page
    / 324
  • Table of contents
  • BOOKMARKS
  • Rated. / 5. Based on customer reviews
Page view 268
Section 11. String Functions
11-3
InStr (Start, SearchString, SoughtString, SearchOption )
The InStr instruction is used to find the location of a string within a string.
Syntax
Variable = InStr (Start, SearchString, SoughtString, SearchOption )
Remarks
This instruction returns the integer position of the SoughtString parameter. If
the SoughtString is not found, the instruction returns 0.
See the CRBasic Editor help for parameter details.
LowerCase (SourceString)
Returns a lower case string of SourceString
Mid (SearchString, Start, Length)
The Mid instruction is used to return a substring that is within a string.
Syntax
String = Mid ( SearchString, Start, Length )
Remarks
The Start and Length parameters are used to determine which part of the
SearchString is returned. Regardless of the value of the Length parameter, the
returned string will be no longer than the original string.
See the CRBasic Editor help for parameter details.
SplitStr (ResultString, SearchString, FilterString, NumSplit, SplitOption)
The SplitStr instruction is used to return an array of strings or numerics from a
search string.
Syntax
SplitStr ( ResultString, SearchString, FilterString, NumSplit, SplitOption )
Remarks
The FilterString and SplitOption help to define the array returned by the
SplitStr instruction.
See the CRBasic Editor help for parameter details.
Page view 268
1 2 ... 264 265 266 267 268 269 270 271 272 273 274 ... 323 324

Comments to this Manuals

No comments