Browse Search Popular Register Upload Rules User list Login:
Search:
Thyme String Functions

Image:
screenshot of the scene

Author: s_noonan

Group: Default

Filesize: 109.4 kB

Date added: 2025-08-31

Rating: 6.1

Downloads: 620

Views: 261

Comments: 5

Ratings: 3

Times favored: 1

Made with: Algodoo v2.2.3

Tags:

Scene tag

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.
Last edited at 2025/10/15 09:52:02 by s_noonan
Please log in to rate this scene
edit
Similar scenes
Title: thyme scripted pneumatic cylinder
Rating: 7
Filesize: 14.73 kB
Downloads: 958
Comments: 4
Ratings: 8
Date added: 2010/11/30 22:24:38
Made with: Phun
Rating: rated 7
download
Title: Sine and Cosine visualized
Rating: 5
Filesize: 45.89 kB
Downloads: 1171
Comments: 18
Ratings: 1
Date added: 2022/09/05 04:41:07
Made with: Algodoo v2.1.0
Rating: rated 5
download
Title: Strings Functions V2 (Thyme)
Rating: 5.5
Filesize: 2.22 kB
Downloads: 395
Comments: 1
Ratings: 2
Date added: 2010/04/15 19:41:47
Made with: Algodoo before v1.8.5
Rating: rated 5.5
download
Title: String
Rating: 6.1111
Filesize: 51.37 kB
Downloads: 332
Comments: 3
Ratings: 3
Date added: 2011/02/20 18:16:51
Made with: Phun
Rating: rated 6.1
download
Title: Compound bow
Rating: 5.5
Filesize: 323.54 kB
Downloads: 2560
Comments: 0
Ratings: 2
Date added: 2014/11/15 15:34:13
Made with: Algodoo v2.1.0
Rating: rated 5.5
download
Title: String!
Rating: 4.5
Filesize: 8.13 kB
Downloads: 292
Comments: 0
Ratings: 2
Date added: 2014/08/20 22:21:16
Made with: Algodoo v2.1.0
Rating: rated 4.5
download
:o :o :o :o
:bonk: :tup:
WOW, this work is impressive! Are all those functions intrinsic to Algodoo, or are they ones that either you created or got from some other source (AI maybe?).
Q: Are all those functions intrinsic to Algodoo.
A: No, none are.

Q: Are they ones that either you created or got from some other source (AI maybe?).
A: I asked AI to generate string functions similar to Python.
Awesome! Thanks.