ScriptBasic:UsersGuide 20

From ScriptBasic
Jump to: navigation, search


20. Pattern matching

[<<<] [>>>]

20.1. The operator LIKE
20.2. The function JOKER
20.3. Escaping wild cards
20.4. Ambiguous matching
20.5. Advanced matching

ScriptBasic provides a simple, yet powerful pattern matching mechanism that eases string handling. ScriptBasic pattern matching is based on wild card patterns and not regular expressions. There is an external module called RE that implements regular expression based pattern matching.The pattern matching that ScriptBasic provides is simpler and therefore easier to learn and use. Most programs do not need the power of regular expression match.

[<<<] [>>>]