Message 1 of 3
Content Center Input and Filename - Trim trailing and leading zeros from input
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
We have many content center families with an input for the dimensions of the part - for example, wood where the user inputs the length. The filename is set from the wood board size and the length input by the user.
One issue we have is that there does not seem to be a way to trim trailing or leading zeroes. As a result, for a 10" piece of wood, the inputs 10.0, 010, 10.00, and 10 will result in four different files for the same exact part.
Is there a way to trim leading zeroes from the input so that all of the above inputs would result in the same filename?
More info if it helps:
The File Name is an identifier for the family, with a dash, and the the PARTNUMBER column. Here is the properties page for the PARTNUMBER column: