Category:Wren-str: Difference between revisions
Content added Content deleted
(Added reference to new Strs class.) |
m (Tidied links.) |
||
Line 2: | Line 2: | ||
'''Wren-str''' is a module which supplements the methods in the Wren programming language's String class. It consists of static methods organized into 4 classes: Char, Str, Strs and Utf8. |
'''Wren-str''' is a module which supplements the methods in the Wren programming language's String class. It consists of static methods organized into 4 classes: Char, Str, Strs and Utf8. |
||
It is the second in a series of modules (listed on the language's |
It is the second in a series of modules (listed on the language's [https://rosettacode.org/wiki/Category:Wren main page]) designed to assist with writing Rosetta Code tasks so the same code does not have to be written or copy/pasted time and time again thereby bloating a task's script code unnecessarily. |
||
To use it all you need to do is to copy the source code (in the |
To use it all you need to do is to copy the source code (in the [https://rosettacode.org/wiki/Category_talk:Wren-str talk page]) to a text file called ''str.wren'' and place this in the same directory as the importing script so the command line interpreter can find it. |
Revision as of 10:22, 11 December 2021
Library
This is an example of a library. You may see a list of other libraries used on Rosetta Code at Category:Solutions by Library.
This is an example of a library. You may see a list of other libraries used on Rosetta Code at Category:Solutions by Library.
Wren-str is a module which supplements the methods in the Wren programming language's String class. It consists of static methods organized into 4 classes: Char, Str, Strs and Utf8.
It is the second in a series of modules (listed on the language's main page) designed to assist with writing Rosetta Code tasks so the same code does not have to be written or copy/pasted time and time again thereby bloating a task's script code unnecessarily.
To use it all you need to do is to copy the source code (in the talk page) to a text file called str.wren and place this in the same directory as the importing script so the command line interpreter can find it.
Pages in category "Wren-str"
The following 115 pages are in this category, out of 115 total.
2
B
C
- Calendar - for "REAL" programmers
- Camel case and snake case
- Canonicalize CIDR
- Chemical calculator
- Chess player
- Circular primes
- CLI-based maze-game
- Compiler/lexical analyzer
- Compiler/Preprocessor
- Compiler/Verifying syntax
- Convert CSV records to TSV
- Count how many vowels and consonants occur in a string
- Count occurrences of a substring
- Cyclops numbers
F
G
N
P
R
S
- Sanitize user input
- SEDOLs
- Selectively replace multiple instances of a character within a string
- Set puzzle
- SHA-256 Merkle tree
- Simple database
- Solving coin problems
- Sorensen–Dice coefficient
- Soundex
- State name puzzle
- Straddling checkerboard
- Stream merge
- String case
- String comparison
- Substring
- Substring/Top and tail