Image:
 Author: s_noonan Group: Default Filesize: 109.4 kB Date added: 2025-08-31 Rating: 6.1 Downloads: 622 Views: 263 Comments: 5 Ratings: 3 Times favored: 1 Made with: Algodoo v2.2.3 Tags:
|
This scene showcases a comprehensive suite of 38 custom string functions implemented in Thyme, organized into interactive boxes that cycle through five informative states: Description, Usage, Example, Results, and Code. Each function mimics familiar Python string behaviors while adhering to Thyme’s syntax and execution model.
Functions are grouped into intuitive categories:
Character Classification: Tests whether characters meet specific criteria (e.g., `_isalpha`, `_isdigit`, `_isspace`).
Case Conversion & Formatting: Transforms string casing and layout (e.g., `_lower`, `_title`, `_strip`).
Substring & Slicing: Extracts portions of strings (e.g., `_left`, `_mid`, `_charAt`).
Search & Match: Locates substrings and patterns (e.g., `_find`, `_startswith`, `_instr`).
Replacement & Splitting: Modifies or breaks strings into parts (e.g., `_replace`, `_splitlines`).
Utility & Conversion: Includes ASCII helpers and comparison tools (e.g., `_asc`, `_comp`, `_reverse`).
Looping & Iteration: Internal recursive constructs used to power most string logic (e.g., `_xFor`, `_xWhile`).
Each box is styled consistently and responds to user interaction, making the scene both educational and functional. It serves as a reference, a playground, and a foundation for building more advanced text-processing tools in Thyme. |