1
0
mirror of https://github.com/JustinSDK/dotSCAD.git synced 2025-09-01 10:42:57 +02:00

update to 3.0

This commit is contained in:
Justin Lin
2021-02-10 15:59:03 +08:00
parent 3f04df9224
commit 107a4a1b9e
5 changed files with 7 additions and 7 deletions

View File

@@ -13,5 +13,5 @@ Splits the given string around matches of the given delimiting character.
use <util/split_str.scad>;
echo(split_str("hello,world", ",")); // ECHO: ["hello", "world"]
assert(split_str("hello,world", ",") == ["hello", "world"]);

View File

@@ -14,5 +14,5 @@ Returns the part of the string from `begin` to `end`, or to the `end` of the str
use <util/sub_str.scad>;
echo(sub_str("helloworld", 0, 5)); // ECHO: "hello"
echo(sub_str("helloworld", 5)); // ECHO: "world"
assert(sub_str("helloworld", 0, 5) == "hello");
assert(sub_str("helloworld", 5) == "world");