1
0
mirror of https://github.com/JustinSDK/dotSCAD.git synced 2025-01-17 22:28:16 +01:00
dotSCAD/docs/lib2-split_str.md
2019-06-24 07:29:42 +08:00

352 B

split_str

The dir changed since 2.0.

Splits the given string around matches of the given delimiting character.

Parameters

  • t : The source string.
  • delimiter : The delimiting character.

Examples

include <util/sub_str.scad>;
include <util/split_str.scad>;

echo(split_str("hello,world", ","));  // ECHO: ["hello", "world"]