mirror of
https://github.com/JustinSDK/dotSCAD.git
synced 2025-01-17 22:28:16 +01:00
16 lines
284 B
Markdown
16 lines
284 B
Markdown
# split_str
|
|
|
|
Splits the given string around matches of the given delimiting character.
|
|
|
|
## Parameters
|
|
|
|
- `t` : The source string.
|
|
- `delimiter` : The delimiting character.
|
|
|
|
## Examples
|
|
|
|
use <util/split_str.scad>;
|
|
|
|
assert(split_str("hello,world", ",") == ["hello", "world"]);
|
|
|