TrimToolComment: Difference between revisions

From Compost Wiki
Jump to navigation Jump to search
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..."
 
Dannym (talk | contribs)
No edit summary
 
Line 3: Line 3:


This string command uses the current tool in the op list or tool list.}}
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|version=10.7}}
{{Stats|id=19|type=String|class=All Machines|scope= Any Loop|version=10.7}}
[[Category:Tools]]
[[Category:Tools]]

Latest revision as of 17:42, 11 October 2022

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