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 <sub_str.scad>;
include <split_str.scad>;

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