AnsweredAssumed Answered

EPDM Dispatch Character Counts

Question asked by Michael Ferraro on Sep 26, 2014
Latest reply on Sep 30, 2014 by Michael Ferraro

Hello All,


We have very recently bought EPDM and I am working on developing our data cards.


Our material library has many materials that have been added that all have the following format:




What we would like to do is put these three values onto the data card in 3 separate fields.


Material = Information in 1st set of Brackets

Finish = Information in 2nd set of Brackets

Heat Treat = Information in 3rd set of Brackets


I had worked this out in dispatch and thought I had it functioning until I realized I made a mistake. If I set a parts material to be [UHMW WHITE] it ends up putting UHMW WHITE into Material and into Heat Treat.


Is there a way in dispatch to count the number of occurrences of a character? I would then be able to set up a few If statements pending what the value is. If only one "[" set the Material property, if 2 "[" set the Material and Finish and if 3 "[" set the Material Finish and Heat Treat.