Category:Wren-str
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 5 classes: Char, Str, Strs, Utf8 and Greek.
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 117 pages are in this category, out of 117 total.
2
A
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