eXept Software AG Logo

Smalltalk/X Webserver

Documentation of class 'JavaScriptEnvironment::String':

Home

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

Class: String (private in JavaScriptEnvironment

This class is only visible from within JavaScriptEnvironment.

Inheritance:

   Object
   |
   +--Collection
      |
      +--SequenceableCollection
         |
         +--ArrayedCollection
            |
            +--UninterpretedBytes
               |
               +--CharacterArray
                  |
                  +--String
                     |
                     +--JavaScriptEnvironment::String

Package:
stx:libjavascript
Category:
Languages-JavaScript-Framework
Owner:
JavaScriptEnvironment

Instance protocol:

accessing
o  js_at: index
JS returns chars as strings and uses 0-based indexing

o  js_at: index put: aCharacterOrString
JS returns chars as strings and uses 0-based indexing

o  js_charAt: index
JS returns chars as strings and uses 0-based indexing

o  js_substring: idx1 _: idx2

concatenation
o  js_plus: aString
that's #+

conversion
o  js_toLowerCase

o  js_toUpperCase

queries
o  js_length

searching
o  js_indexOf: searchString
JS indexing is 0-based

o  js_indexOf: searchString _: startIndex
JS indexing is 0-based

o  js_lastIndexOf: searchString
JS indexing is 0-based

o  js_lastIndexOf: searchString _: startIndex
JS indexing is 0-based



ST/X 7.2.0.0; WebServer 1.670 at bd0aa1f87cdd.unknown:8081; Fri, 07 Oct 2022 18:55:04 GMT