Softanza
DémarrerEnglish
Softanza
La bibliothèque se documente elle-même · Chaînes de caractères

stzStringText

114 méthodes propres · 33 formes avec extensions, rangées sous leur méthode

la source: base/string/stzStringText.ring(s'ouvre dans un nouvel onglet) · Toutes les classes · La référence du domaine : Chaînes de caractères

Sous chaque méthode, ses extensions (Q CS XT Z ZZ IB W U) : en gras et cochée, elle existe ; barrée, elle n'existe pas. Les extensions et leur sens

Exemples : 0 viennent des tests de la bibliothèque ; 77 ont été composés à partir de la signature de chaque méthode et exécutés pour cette page, sur un objet neuf, par exemple o1 = new stzStringText("The quick brown fox. It jumps!"). 37 méthodes n'en ont pas encore. Exemples exécutés le 2026-10-03 12:54 dans la bibliothèque au commit 0e72e2e2c.

Méthode
Explication, telle que la source la porte
init
Build the text object from a string or a stzString.aucune extension
Content
(Doc()/Ask()/AskFor()/ExplainMethod() are inherited from stzObject -- the common ground for every Softanza object.)aussi écrite: Textaucune extension
NumberOfChars
How many chars the text holds.
exemple composé
o1 = new stzStringText("The quick brown fox. It jumps!")
? o1.NumberOfChars()
#--> 30
composé à partir de la signature, exécuté pour cette page
aucune extension
IsEmpty
TRUE if the text is empty.
exemple composé
o1 = new stzStringText("The quick brown fox. It jumps!")
? o1.IsEmpty()
#--> 0
composé à partir de la signature, exécuté pour cette page
aucune extension
Copy
A new stzStringText with the same content.aucune extension
ToStzString
The text wrapped as a stzString object.aucune extension
Engine
The engine handle of the underlying string.aucune extension
Update
Replace the content with the given string (mutating).
exemple composé
o1 = new stzStringText("The quick brown fox. It jumps!")
o1.Update("an")
? o1.Content()
#--> an
composé à partir de la signature, exécuté pour cette page
aucune extension
UpdateWith
Same as Update: replace the content (mutating).
exemple composé
o1 = new stzStringText("The quick brown fox. It jumps!")
o1.UpdateWith("an")
? o1.Content()
#--> an
composé à partir de la signature, exécuté pour cette page
aucune extension
SetLanguage
Set the working language of the text.aucune extension
Language
language
exemple composé
o1 = new stzStringText("The quick brown fox. It jumps!")
? @@( o1.Language() )
#--> "NULL"
composé à partir de la signature, exécuté pour cette page
aucune extension
Script
The (dominant) script of the string.
exemple composé
o1 = new stzStringText("The quick brown fox. It jumps!")
? o1.Script()
#--> latin
composé à partir de la signature, exécuté pour cette page
aucune extension
Scripts
The scripts used in the string.
exemple composé
o1 = new stzStringText("The quick brown fox. It jumps!")
? @@( o1.Scripts() )
#--> [ "latin", "common" ]
composé à partir de la signature, exécuté pour cette page
aucune extension
NumberOfScripts
How many scripts the string uses.
exemple composé
o1 = new stzStringText("The quick brown fox. It jumps!")
? o1.NumberOfScripts()
#--> 2
composé à partir de la signature, exécuté pour cette page
aucune extension
CountScripts
How many scripts the text uses.
exemple composé
o1 = new stzStringText("The quick brown fox. It jumps!")
? o1.CountScripts()
#--> 2
composé à partir de la signature, exécuté pour cette page
aucune extension
NumberOfDistinctScripts
How many distinct scripts the text uses.
exemple composé
o1 = new stzStringText("The quick brown fox. It jumps!")
? o1.NumberOfDistinctScripts()
#--> 2
composé à partir de la signature, exécuté pour cette page
aucune extension
ScriptIs
TRUE if the text's dominant script is the given one.aucune extension
ContainsScript
TRUE if the text uses the given script.aucune extension
ContainsArabicScript
TRUE if the text contains Arabic-script content.
exemple composé
o1 = new stzStringText("The quick brown fox. It jumps!")
? o1.ContainsArabicScript()
#--> 0
composé à partir de la signature, exécuté pour cette page
aucune extension
ContainsLatinScript
TRUE if the text contains Latin-script content.
exemple composé
o1 = new stzStringText("The quick brown fox. It jumps!")
? o1.ContainsLatinScript()
#--> 1
composé à partir de la signature, exécuté pour cette page
aucune extension
IsLatinScript
TRUE if the string is written in the Latin script.
exemple composé
o1 = new stzStringText("The quick brown fox. It jumps!")
? o1.IsLatinScript()
#--> 1
composé à partir de la signature, exécuté pour cette page
aucune extension
IsArabicScript
TRUE if the string is written in the Arabic script.
exemple composé
o1 = new stzStringText("The quick brown fox. It jumps!")
? o1.IsArabicScript()
#--> 0
composé à partir de la signature, exécuté pour cette page
aucune extension
IsHanScript
TRUE if the string is written in the Han script.
exemple composé
o1 = new stzStringText("The quick brown fox. It jumps!")
? o1.IsHanScript()
#--> 0
composé à partir de la signature, exécuté pour cette page
aucune extension
IsHybridScript
TRUE if the string mixes several scripts.
exemple composé
o1 = new stzStringText("The quick brown fox. It jumps!")
? o1.IsHybridScript()
#--> 0
composé à partir de la signature, exécuté pour cette page
aucune extension
IsCommonScript
TRUE if the chars belong to the Common script.
exemple composé
o1 = new stzStringText("The quick brown fox. It jumps!")
? o1.IsCommonScript()
#--> 0
composé à partir de la signature, exécuté pour cette page
aucune extension
IsInheritedScript
TRUE if the chars belong to the Inherited script.
exemple composé
o1 = new stzStringText("The quick brown fox. It jumps!")
? o1.IsInheritedScript()
#--> 0
composé à partir de la signature, exécuté pour cette page
aucune extension
OnlyScript
filtering text by scriptaucune extension
OnlyArabic
filtering text by scriptaucune extension
OnlyLatin
filtering text by scriptaucune extension
NumberOfWords
How many words the text holds.aussi écrite: CountWords · HowManyWords
exemple composé
o1 = new stzStringText("The quick brown fox. It jumps!")
? o1.NumberOfWords()
#--> 6
composé à partir de la signature, exécuté pour cette page
aucune extension
NthWord
The nth word of the text.aussi écrite: Word
exemple composé
o1 = new stzStringText("The quick brown fox. It jumps!")
? o1.NthWord(2)
#--> quick
composé à partir de la signature, exécuté pour cette page
aucune extension
FirstWord
The first word of the string.
exemple composé
o1 = new stzStringText("The quick brown fox. It jumps!")
? o1.FirstWord()
#--> The
composé à partir de la signature, exécuté pour cette page
aucune extension
LastWord
The last word of the string.
exemple composé
o1 = new stzStringText("The quick brown fox. It jumps!")
? o1.LastWord()
#--> jumps
composé à partir de la signature, exécuté pour cette page
aucune extension
Words
The words of the text, as a list (engine-extracted).
exemple composé
o1 = new stzStringText("The quick brown fox. It jumps!")
? @@( o1.Words() )
#--> [ "The", "quick", "brown", "fox", "It", "jumps" ]
composé à partir de la signature, exécuté pour cette page
QCSXTZZZIBWUExcept
UniqueWords
Same as UniqueWordsCS: The unique words of the string.aussi écrite: SetOfWords
exemple composé
o1 = new stzStringText("The quick brown fox. It jumps!")
? @@( o1.UniqueWords() )
#--> [ "The", "quick", "brown", "fox.", "It", "jumps!" ]
composé à partir de la signature, exécuté pour cette page
QCSXTZZZIBWU
NumberOfUniqueWords
How many distinct words the text holds.
exemple composé
o1 = new stzStringText("The quick brown fox. It jumps!")
? o1.NumberOfUniqueWords()
#--> 6
composé à partir de la signature, exécuté pour cette page
aucune extension
IsWord
TRUE if the text is a single word.
exemple composé
o1 = new stzStringText("The quick brown fox. It jumps!")
? o1.IsWord()
#--> 0
composé à partir de la signature, exécuté pour cette page
aucune extension
IsArabicWord
TRUE if the text is a single Arabic-script word.
exemple composé
o1 = new stzStringText("The quick brown fox. It jumps!")
? o1.IsArabicWord()
#--> 0
composé à partir de la signature, exécuté pour cette page
aucune extension
IsLatinWord
TRUE if the text is a single Latin-script word.
exemple composé
o1 = new stzStringText("The quick brown fox. It jumps!")
? o1.IsLatinWord()
#--> 0
composé à partir de la signature, exécuté pour cette page
aucune extension
ContainsWord
Same as ContainsWordCS: TRUE if the string contains the given WORD (word-boundary aware).
exemple composé
o1 = new stzStringText("The quick brown fox. It jumps!")
? o1.ContainsWord("an")
#--> 0
composé à partir de la signature, exécuté pour cette page
QCSXTZZZIBWU
ContainsNoWord
TRUE if the text contains NONE of the given words.aucune extension
ContainsEachWord
Same as ContainsEachWordCS: TRUE if the text contains EVERY one of the given words.
exemple composé
o1 = new stzStringText("The quick brown fox. It jumps!")
? o1.ContainsEachWord([ "an", "a" ])
#--> 0
composé à partir de la signature, exécuté pour cette page
QCSXTZZZIBWU
ReverseWords
Reverse the ORDER of the words in place (mutating).
exemple composé
o1 = new stzStringText("The quick brown fox. It jumps!")
o1.ReverseWords()
? o1.Content()
#--> jumps! It fox. brown quick The
composé à partir de la signature, exécuté pour cette page
QCSXTZZZIBWU
WordsReversed
The words in reverse order, as a copy.
exemple composé
o1 = new stzStringText("The quick brown fox. It jumps!")
? o1.WordsReversed()
#--> jumps! It fox. brown quick The
composé à partir de la signature, exécuté pour cette page
aucune extension
SortWords
Same as SortWordsCS: Sort the words in place (mutating).
exemple composé
o1 = new stzStringText("The quick brown fox. It jumps!")
o1.SortWords()
? o1.Content()
#--> It The brown fox. jumps! quick
composé à partir de la signature, exécuté pour cette page
QCSXTZZZIBWU
WordsSorted
Same as WordsSortedCS: The words sorted, as a copy; the original is unchanged.
exemple composé
o1 = new stzStringText("The quick brown fox. It jumps!")
? o1.WordsSorted()
#--> It The brown fox. jumps! quick
composé à partir de la signature, exécuté pour cette page
QCSXTZZZIBWU
ReverseEachWord
Reverse the CHARS of each word in place (mutating).
exemple composé
o1 = new stzStringText("The quick brown fox. It jumps!")
o1.ReverseEachWord()
? o1.Content()
#--> ehT kciuq nworb .xof tI !spmuj
composé à partir de la signature, exécuté pour cette page
QCSXTZZZIBWU
EachWordReversed
Each word with its chars reversed, as a copy.
exemple composé
o1 = new stzStringText("The quick brown fox. It jumps!")
? o1.EachWordReversed()
#--> ehT kciuq nworb .xof tI !spmuj
composé à partir de la signature, exécuté pour cette page
aucune extension
RemoveNthWord
Remove the nth word (mutating).
exemple composé
o1 = new stzStringText("The quick brown fox. It jumps!")
o1.RemoveNthWord(2)
? o1.Content()
#--> The brown fox. It jumps!
composé à partir de la signature, exécuté pour cette page
QCSXTZZZIBWU
NthWordRemoved
A copy with the nth word removed.
exemple composé
o1 = new stzStringText("The quick brown fox. It jumps!")
? o1.NthWordRemoved(2)
#--> The brown fox. It jumps!
composé à partir de la signature, exécuté pour cette page
aucune extension
InsertWordAt
Insert the given word at word-position n (mutating).
exemple composé
o1 = new stzStringText("The quick brown fox. It jumps!")
o1.InsertWordAt(2, "an")
? o1.Content()
#--> The an quick brown fox. It jumps!
composé à partir de la signature, exécuté pour cette page
QCSXTZZZIBWU
SwapWords
Exchange the words at the two given word-positions (mutating).
exemple composé
o1 = new stzStringText("The quick brown fox. It jumps!")
o1.SwapWords(2, 5)
? o1.Content()
#--> The It brown fox. quick jumps!
composé à partir de la signature, exécuté pour cette page
QCSXTZZZIBWU
TruncateWords
Keep only the first n words (mutating).
exemple composé
o1 = new stzStringText("The quick brown fox. It jumps!")
o1.TruncateWords(2)
? o1.Content()
#--> The quick
composé à partir de la signature, exécuté pour cette page
QCSXTZZZIBWU
WordsTruncated
A copy keeping only the first n words.
exemple composé
o1 = new stzStringText("The quick brown fox. It jumps!")
? o1.WordsTruncated(2)
#--> The quick
composé à partir de la signature, exécuté pour cette page
aucune extension
RemoveDuplicateWords
Remove the repeated words, keeping first occurrences (mutating).QCSXTZZZIBWU
DuplicateWordsRemoved
A copy with the repeated words removed.aucune extension
CountWordsMatching
How many words match the given pattern.
exemple composé
o1 = new stzStringText("The quick brown fox. It jumps!")
? o1.CountWordsMatching("an")
#--> 0
composé à partir de la signature, exécuté pour cette page
aucune extension
NumberOfOccurrenceOfWord
word frequency (ring logic)aussi écrite: NumberOfOccurrencesOfWord
exemple composé
o1 = new stzStringText("The quick brown fox. It jumps!")
? o1.NumberOfOccurrenceOfWord("an")
#--> 0
composé à partir de la signature, exécuté pour cette page
QCSXTZZZIBWU
WordFrequency
Each word paired with its frequency.aussi écrite: FrequencyOfWord
exemple composé
o1 = new stzStringText("The quick brown fox. It jumps!")
? o1.WordFrequency("an")
#--> 0
composé à partir de la signature, exécuté pour cette page
aucune extension
WordsAndTheirCounts
Same as WordsAndTheirCountsCS: [[word, count], ...] in first-appearance order. ENGINE-DIRECT, ONE pass.
exemple composé
o1 = new stzStringText("The quick brown fox. It jumps!")
? @@( o1.WordsAndTheirCounts() )
#--> [ [ "The", 1 ], [ "quick", 1 ], [ "brown", 1 ], [ "fox", 1 ], [ "It", 1 ], [ "jumps", 1 ] ]
composé à partir de la signature, exécuté pour cette page
QCSXTZZZIBWU
MostFrequentWords
Same as MostFrequentWordsCS: The top-N most frequent words as [[word, count], ...], count descending (ties by first appearance). ENGINE-DIRECT, ONE pass + partial rank.
exemple composé
o1 = new stzStringText("The quick brown fox. It jumps!")
? @@( o1.MostFrequentWords(2) )
#--> [ [ "The", 1 ], [ "quick", 1 ] ]
composé à partir de la signature, exécuté pour cette page
QCSXTZZZIBWU
WordsAndTheirFrequencies
word frequency (ring logic)
exemple composé
o1 = new stzStringText("The quick brown fox. It jumps!")
? @@( o1.WordsAndTheirFrequencies() )
#--> [ [ "The", 0.17 ], [ "quick", 0.17 ], [ "brown", 0.17 ], [ "fox", 0.17 ], [ "It", 0.17 ], [ "jumps", 0.17 ] ]
composé à partir de la signature, exécuté pour cette page
aucune extension
MostFrequentWord
The word that occurs most often in the string.
exemple composé
o1 = new stzStringText("The quick brown fox. It jumps!")
? o1.MostFrequentWord()
#--> The
composé à partir de la signature, exécuté pour cette page
aucune extension
LessFrequentWord
word frequency (ring logic)
exemple composé
o1 = new stzStringText("The quick brown fox. It jumps!")
? o1.LessFrequentWord()
#--> The
composé à partir de la signature, exécuté pour cette page
aucune extension
NMostFrequentWords
word frequency (ring logic)aussi écrite: TopNFrequentWords
exemple composé
o1 = new stzStringText("The quick brown fox. It jumps!")
? @@( o1.NMostFrequentWords(2) )
#--> [ "The", "quick" ]
composé à partir de la signature, exécuté pour cette page
aucune extension
WordsPositions
word positions (ring logic)
exemple composé
o1 = new stzStringText("The quick brown fox. It jumps!")
? @@( o1.WordsPositions() )
#--> [ 1, 5, 11, 17, 22, 25 ]
composé à partir de la signature, exécuté pour cette page
aucune extension
WordsAndTheirPositions
word positions (ring logic)
exemple composé
o1 = new stzStringText("The quick brown fox. It jumps!")
? @@( o1.WordsAndTheirPositions() )
#--> [ [ "The", [ 1 ] ], [ "quick", [ 5 ] ], [ "brown", [ 11 ] ], [ "fox.", [ 17 ] ], [ "It", [ 22 ] ], [ "jumps!", [ 25 ] ] ]
composé à partir de la signature, exécuté pour cette page
aucune extension
WordsSortingOrder
word sorting checks (ring logic)
exemple composé
o1 = new stzStringText("The quick brown fox. It jumps!")
? o1.WordsSortingOrder()
#--> unsorted
composé à partir de la signature, exécuté pour cette page
aucune extension
WordsAreSorted
word sorting checks (ring logic)
exemple composé
o1 = new stzStringText("The quick brown fox. It jumps!")
? o1.WordsAreSorted()
#--> 0
composé à partir de la signature, exécuté pour cette page
aucune extension
WordsAreSortedInAscending
word sorting checks (ring logic)
exemple composé
o1 = new stzStringText("The quick brown fox. It jumps!")
? o1.WordsAreSortedInAscending()
#--> 0
composé à partir de la signature, exécuté pour cette page
aucune extension
WordsAreSortedInDescending
word sorting checks (ring logic)
exemple composé
o1 = new stzStringText("The quick brown fox. It jumps!")
? o1.WordsAreSortedInDescending()
#--> 0
composé à partir de la signature, exécuté pour cette page
aucune extension
WordsSortedInAscending
word sorting checks (ring logic)
exemple composé
o1 = new stzStringText("The quick brown fox. It jumps!")
? @@( o1.WordsSortedInAscending() )
#--> [ "It", "The", "brown", "fox", "jumps", "quick" ]
composé à partir de la signature, exécuté pour cette page
aucune extension
WordsSortedInDescending
word sorting checks (ring logic)
exemple composé
o1 = new stzStringText("The quick brown fox. It jumps!")
? @@( o1.WordsSortedInDescending() )
#--> [ "quick", "jumps", "fox", "brown", "The", "It" ]
composé à partir de la signature, exécuté pour cette page
aucune extension
NumberOfSentences
How many sentences the string holds.aussi écrite: SentenceCount · CountSentences · HowManySentences
exemple composé
o1 = new stzStringText("The quick brown fox. It jumps!")
? o1.NumberOfSentences()
#--> 2
composé à partir de la signature, exécuté pour cette page
aucune extension
Sentences
The sentences of the text, as a list.
exemple composé
o1 = new stzStringText("The quick brown fox. It jumps!")
? @@( o1.Sentences() )
#--> [ "The quick brown fox.", "It jumps!" ]
composé à partir de la signature, exécuté pour cette page
aucune extension
NthSentence
The nth sentence of the text.aussi écrite: Sentence
exemple composé
o1 = new stzStringText("The quick brown fox. It jumps!")
? o1.NthSentence(2)
#--> It jumps!
composé à partir de la signature, exécuté pour cette page
aucune extension
FirstSentence
The first sentence of the text.
exemple composé
o1 = new stzStringText("The quick brown fox. It jumps!")
? o1.FirstSentence()
#--> The quick brown fox.
composé à partir de la signature, exécuté pour cette page
aucune extension
LastSentence
The last sentence of the text.
exemple composé
o1 = new stzStringText("The quick brown fox. It jumps!")
? o1.LastSentence()
#--> It jumps!
composé à partir de la signature, exécuté pour cette page
aucune extension
NumberOfParagraphs
How many paragraphs the string holds.aussi écrite: CountParagraphs · HowManyParagraphs
exemple composé
o1 = new stzStringText("The quick brown fox. It jumps!")
? o1.NumberOfParagraphs()
#--> 1
composé à partir de la signature, exécuté pour cette page
aucune extension
Paragraphs
The paragraphs of the string, as a list.
exemple composé
o1 = new stzStringText("The quick brown fox. It jumps!")
? @@( o1.Paragraphs() )
#--> [ "The quick brown fox. It jumps!" ]
composé à partir de la signature, exécuté pour cette page
aucune extension
NthParagraph
The nth paragraph of the string.aussi écrite: Paragraphaucune extension
FirstParagraph
Same as NthParagraph: The nth paragraph of the string.aucune extension
LastParagraph
The last paragraph of the text.aucune extension
NumberOfLines
How many lines the text holds.aussi écrite: CountLines · HowManyLines
exemple composé
o1 = new stzStringText("The quick brown fox. It jumps!")
? o1.NumberOfLines()
#--> 1
composé à partir de la signature, exécuté pour cette page
aucune extension
Lines
The lines of the text, as a list.
exemple composé
o1 = new stzStringText("The quick brown fox. It jumps!")
? @@( o1.Lines() )
#--> [ "The quick brown fox. It jumps!" ]
composé à partir de la signature, exécuté pour cette page
aucune extension
NthLine
The nth line of the text.aussi écrite: Lineaucune extension
FirstLine
The first line of the text.aucune extension
LastLine
The last line of the text.aucune extension
DeduplicateLines
Same as DeduplicateLinesCS: Remove the repeated lines, keeping first occurrences (mutating).QCSXTZZZIBWU
LinesDeduplicated
Same as LinesDeduplicatedCS: A copy with the repeated lines removed.QCSXTZZZIBWU
RemoveBlankLines
Remove the blank lines (mutating).QCSXTZZZIBWU
RemoveEmptyLines
Same as RemoveBlankLines: Remove the blank lines (mutating).QCSXTZZZIBWU
BlankLinesRemoved
A copy with the blank lines removed.aussi écrite: EmptyLinesRemovedaucune extension
NumberLines
Prefix each line with its number (mutating).QCSXTZZZIBWU
LinesNumbered
A copy with each line prefixed by its number.
exemple composé
o1 = new stzStringText("The quick brown fox. It jumps!")
? o1.LinesNumbered()
#--> 1: The quick brown fox. It jumps!
composé à partir de la signature, exécuté pour cette page
aucune extension
Simplify
Collapse the whitespace runs to single spaces (mutating).QCSXTZZZIBWU
Simplified
A copy with the whitespace runs collapsed to single spaces.aucune extension
CollapseSpaces
Collapse the space runs to single spaces (mutating, engine-backed).QCSXTZZZIBWU
SpacesCollapsed
A copy with the space runs collapsed; the original is unchanged.aucune extension
NormalizeSpaces
Normalize the whitespace (trim + collapse) in place (mutating).QCSXTZZZIBWU
SpacesNormalized
A copy with the whitespace normalized; the original is unchanged.aucune extension
ToSentenceCase
Sentence-case the text (each sentence's first letter capitalized) -- mutating.QCSXTZZZIBWU
SentenceCased
A sentence-cased copy; the original is unchanged.
exemple composé
o1 = new stzStringText("The quick brown fox. It jumps!")
? o1.SentenceCased()
#--> The quick brown fox. it jumps!
composé à partir de la signature, exécuté pour cette page
aucune extension
Pluralize
Pluralize the (English) word in place (mutating).QCSXTZZZIBWU
Pluralized
The pluralized form, as a copy; the original is unchanged.
exemple composé
o1 = new stzStringText("The quick brown fox. It jumps!")
? o1.Pluralized()
#--> The quick brown fox. It jumps!s
composé à partir de la signature, exécuté pour cette page
aucune extension
ToSlug
The string turned into a URL slug (lowercase, hyphens).aussi écrite: Slugified
exemple composé
o1 = new stzStringText("The quick brown fox. It jumps!")
? o1.ToSlug()
#--> the-quick-brown-fox-it-jumps
composé à partir de la signature, exécuté pour cette page
aucune extension
Abbreviate
Abbreviate the text in place (mutating).aussi écrite: Abbreviatedaucune extension
Initials
The initial letter of each word.
exemple composé
o1 = new stzStringText("The quick brown fox. It jumps!")
? o1.Initials()
#--> TqbfIj
composé à partir de la signature, exécuté pour cette page
aucune extension
DiacriticsRemoved
Delegate-thin wrappers so stzText/stzStringText consumers can reach common stzString helpers without juggling .ToStzString().aucune extension
RemoveDiacritics
Remove the diacritics (accents) in place (mutating).aucune extension
Lowercase
Lowercase the text in place (mutating).
exemple composé
o1 = new stzStringText("The quick brown fox. It jumps!")
o1.Lowercase()
? o1.Content()
#--> the quick brown fox. it jumps!
composé à partir de la signature, exécuté pour cette page
aucune extension
Uppercase
Uppercase the text in place (mutating).
exemple composé
o1 = new stzStringText("The quick brown fox. It jumps!")
o1.Uppercase()
? o1.Content()
#--> THE QUICK BROWN FOX. IT JUMPS!
composé à partir de la signature, exécuté pour cette page
aucune extension
Chars
The chars of the text, as a list.
exemple composé
o1 = new stzStringText("The quick brown fox. It jumps!")
? @@( o1.Chars() )
#--> [ "T", "h", "e", " ", "q", "u", "i", "c", "k", " ", "b", "r", "o", "w", "n", " ", "f", "o", "x", ".", " ", "I", "t", " ", "j", "u", "m", "p", "s", "!" ]
composé à partir de la signature, exécuté pour cette page
aucune extension
NumberOfChars2
Engine twin of NumberOfChars (codepoint count).
exemple composé
o1 = new stzStringText("The quick brown fox. It jumps!")
? o1.NumberOfChars2()
#--> 30
composé à partir de la signature, exécuté pour cette page
aucune extension