1
0
mirror of https://github.com/JustinSDK/dotSCAD.git synced 2025-01-17 14:18:13 +01:00
dotSCAD/docs/lib-split_str.md
2017-03-29 13:20:17 +08:00

391 B

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"]