eXept Software AG Logo

Smalltalk/X Webserver

Documentation of class 'StringPattern::StartsWith':

Home

Documentation
www.exept.de
Everywhere
for:
[back]

Class: StartsWith (private in StringPattern

This class is only visible from within StringPattern.

Inheritance:

   Object
   |
   +--StringPattern
      |
      +--StringPattern::StartsWith

Package:
stx:libbasic2
Category:
Collections-Text-Support
Owner:
StringPattern

Instance protocol:

conversion
o  asString
Returns a string representation of the pattern.

`StringPattern fromString: pattern asString` should return
the same pattern (same meaning equal)

matching
o  match: string from: from to: to case: case relax: relax
(StringPattern startsWith: 'String') match: 'StringPattern'
(StringPattern startsWith: 'STring') match: 'StringPattern' relax: 2
(StringPattern startsWith: 'Pattern') match: 'StringPattern' from: 7 to: 13 relax: 1
(StringPattern startsWith: 'String') match: 'StringPattern' from: 7 to: 13 relax: 1
(StringPattern startsWith: 'Pattern') match: 'StringPattern' relax: 2




ST/X 7.2.0.0; WebServer 1.670 at bd0aa1f87cdd.unknown:8081; Fri, 29 Sep 2023 04:18:08 GMT