mirror of
https://github.com/JustinSDK/dotSCAD.git
synced 2025-01-18 06:38:14 +01:00
17 lines
391 B
Markdown
17 lines
391 B
Markdown
|
# split_str
|
||
|
|
||
|
Splits the given string around matches of the given delimiting character. It depeneds on the `sub_str` function so remember to `include <sub_str.scad>`.
|
||
|
|
||
|
## Parameters
|
||
|
|
||
|
- `t` : The source string.
|
||
|
- `delimiter` : The delimiting character.
|
||
|
|
||
|
## Examples
|
||
|
|
||
|
include <sub_str.scad>;
|
||
|
include <split_str.scad>;
|
||
|
|
||
|
echo(split_str("hello,world", ",")); // ECHO: ["hello", "world"]
|
||
|
|