TrimToolComment

From Compost Wiki
Revision as of 17:41, 11 October 2022 by Dannym (talk | contribs) (Created page with "=TrimToolComment$('Length')= {{Description|description=Returns the tool comment string value, but it will be truncated to the specified field 'Length' amount of characters. If...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

TrimToolComment$('Length')

Description

Returns the tool comment string value, but it will be truncated to the specified field 'Length' amount of characters. If the tool comment is "3/4 inch drill" and the 'Length' parameter is '8', then the command will return "3/4 inch" as a result.

This string command uses the current tool in the op list or tool list.


Stats

ID 19
Type String
Class All Machines
Scope Op Loop and Tool Loop
Min Version 10.7