What it does
CountString takes string (a string) and find (a string), and answers an integer.
Syntax
CountString(string string, find string) → integerParameters
| Name | Type |
|---|---|
| string | string |
| find | string |
Every form returns
integer
Example · generated
DO Print(CountString("hello", "value")) Sync()LOOPCountString is called and its answer is printed every frame. The DO … LOOP is not decoration: a classic BASIC program ends the moment it runs out of lines, and Sync() is what draws the frame.