-
Notifications
You must be signed in to change notification settings - Fork 73
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
25 additions
and
0 deletions.
There are no files selected for viewing
25 changes: 25 additions & 0 deletions
25
...dates/6877-String-UnicodeString-classComments-JuanVuletich-2024Nov30-12h24m-jmv.001.cs.st
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
'From Cuis7.1 [latest update: #6876] on 30 November 2024 at 12:26:54 pm'! | ||
|
||
!String commentStamp: '<historical>' prior: 0! | ||
A String is an indexed collection of Characters. In Cuis, Characters are Unicode Code Points. In an instance of String, all the Characters must be in the first 255 CodePoints, the Latin-1 set. See also UnicodeString. | ||
|
||
String support a vast array of useful methods, which can best be learned by browsing and trying out examples as you find them in the code. | ||
|
||
Here are a few useful methods to look at... | ||
String match: | ||
String contractTo: | ||
|
||
String also inherits many useful methods from its hierarchy, such as | ||
SequenceableCollection , | ||
SequenceableCollection copyReplaceAll:with: | ||
|
||
See UnicodeString.! | ||
|
||
|
||
!UnicodeString commentStamp: '<historical>' prior: 0! | ||
A UnicodeString is an indexed collection of Characters. In Cuis, Characters are Unicode Code Points. See also String. | ||
|
||
Based on https://github.com/svenvc/UTF8String by Sven Van Caekenberghe. Good ideas and implementation. Thanks Sven!! | ||
|
||
Play with the class side demo methods.! | ||
|