AnsweredAssumed Answered

writing a function to separate text

Question asked by rounakjain on May 19, 2012
Latest reply on May 21, 2012 by philmodjunk

Title

writing a function to separate text

Post

User enters text "15-200" in a field named "25"

A custom function must translate this into "25x15-200"

User enter text "15-200;20-100) in a field named "25"

This should be translated into "25x15-200;25x20-100"

User enter text "" in a field named "25" and "15-100" in a field named "20"

This should be translated into "20x15-100" (i.e. ignore blanks)

Kindly help me with writing this kind of function.

Outcomes