Text
Text manipulation and transformation.
Copy some text, changing its first letter to uppercase.
The text to copy, then capitalize.
Determine whether one piece of text contains a second piece of text.
The [rt.NumEval] version returns the first index at which the text appears,
or zero if not found.
Determine whether text is completely without content.
Even spaces are considered content.
The text "" is considered nothing,
The text " " is considered something.
The text to check for content.
Determine whether text matches a regular expression.
The expressions used are defined by go.
https://pkg.go.dev/regexp/syntax
https://github.com/google/re2/wiki/Syntax
Determine whether text starts in a particular way.
Determine whether text ends in a particular way.
Combine text to produce new text.
Copy some text, changing every letter into lowercase.
For example, turns "QUIET" into "quiet.
The text to copy, then lowercase.
Pluralize a word.
The singular form of a word can have more than one plural form.
For example: "person" can be "people" or "persons".
If more than one exists, this chooses arbitrarily.
Note, The transformation uses predefined rules and some explicit mappings.
The story command [DefinePlural] can add new mappings.
The text to pluralize.
Copy some text with its contents flipped back to front.
For example, turns "Tapestry" into 'yrtsepaT'.
The text to copy and then reverse.
Copy text, changing the start of each sentence so that it starts with a capital letter. ( Currently, "sentences" are considered to be a series of characters ending with a full-stop followed by a space. )
For example, "see the doctor run. run doctor. run." into "See the doctor run. Run doctor. Run."
The text to copy and then transform.
Change a plural word into its singular form.
A plural word only has one singular form.
For example, given the word "people", return "person".
See [pluralize] for more information.
The text to turn into its singular form.
Count the number of characters in some text.
The text to measure.
Copy some text, making every word start with a capital letter.
For example, turns "empire apple" into "Empire Apple".
The text to copy and then transform.
Copy some text, changing every letter into uppercase.
For example, transforms "loud" into "LOUD".
The text to copy and then transform into uppercase.
Definitions:
Commands:
Commands
Slots:
Terms:
Capitalize:
TextEval
Slots:
Terms:
Slots:
Terms:
nothing:
TextEval
Slots:
Terms:
Slots:
Terms:
Slots:
Terms:
Slots:
Terms:
Slots:
Terms:
Lower:
TextEval
Slots:
Terms:
of:
TextEval
Slots:
Terms:
text:
TextEval
Slots:
Terms:
Sentence:
TextEval
Slots:
Terms:
of:
TextEval
Slots:
Terms:
length:
TextEval
Slots:
Terms:
Title:
TextEval
Slots:
Terms:
Upper:
TextEval