OpenSCAD User Manual/String Functions

From Wikibooks, open books for an open world
< OpenSCAD User Manual
Jump to: navigation, search

str[edit]

Convert all arguments to strings and concatenate.

Usage examples:

number=2;
echo ("This is ",number,3," and that's it.");
echo (str("This is ",number,3," and that's it."));

Results:

ECHO: "This is ", 2, 3, " and that's it."
ECHO: "This is 23 and that's it."

Also See search()[edit]

search() for text searching.