How do I get a substring (complete words) of text? I have a description field on a form that can vary in the amount and content. Therefore I only want to grab the first three words (to be used for reference purposes). I’ve been looking at all the @ formulas (@left, etc.), but these grab by number of characters.
Thanks.
Subject: Substring of text
Have you tried @Word?
Subject: RE: Substring of text
Yes, but you need to add a separator in the formula. If I use (for example):
@Word(RequestDescription;" ";2)
Then it goes to the first space in the string and gives the second word in the sentence.
Subject: RE: Substring of text
You can use that to extract the first three words, thus:
@Word(field; " "; 1) + " " + @Word(field; " "; 2) + " " + @Word(field; " "; 3)
Subject: RE: Substring of text
That was easy enough. It works. Thank you for your help. 