TrimToolComment

From Compost Wiki
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 Any Loop
Min Version 10.7