G
Guest
Is their a function to extract first 3 words from a text string?
Thanks.
Dinesh Shah
Thanks.
Dinesh Shah
Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
Now why am I familiar with that? <vbg>being lazy I used the "shortest to type" route...
PapaDos said:Thanks, Roger.
I should have thought of that problem.
I used the double space because it is a combinatioin that is sure not
to
exist in the searched string (TRIMmed). I could have used CHAR(160)
but,
being lazy I used the "shortest to type" route...
;-]
--
Regards,
Luc.
"Festina Lente"
Roger Govier said:Hi Luc
An excellent solution, but because of text wrapping in the posting,
anybody copying and pasting the formula may get a problem.
In both of the Substitute terms,
it is a single space " " that is substituted by a double space " "
When I copied and pasted, it somehow dropped one of the double spaces
in
the first term, and of course this returned the whole of the text
from
cell A1.
.....If B1 were left blank, then it would pick up all of the text
from A1
Want to reply to this thread or ask your own question?
You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.