AnsweredAssumed Answered

Request for help in creating 2 Custom Functions

Question asked by rchenoweth on Jan 10, 2014
Latest reply on Jan 14, 2014 by philmodjunk

Title

Request for help in creating 2 Custom Functions

Post

     The most descriptive names of these two functions would be "BeforeWords" and "AfterWords" (one sets pointer and counts left, the other right)

     From inside a plain text field, in the case of both functions  = ( text ; searchString ; words )

     Example:
     Field = Flibber-de-jibbits comes in a 27 oz. bottle. Reg. price $7
     BeforeWords ( text ; " oz." ; 2 ) would return "27 oz."
     AfterWords ( text ; " Reg. price " ; 3 ) would return " Reg. price $7"
      

     Hopefully this can be done. The fact that I've search so long without finding anything close makes me wonder.

     Thanks for taking a look & let me know if there's any other info I can supply that would clarify.

     RChenoweth

Outcomes