I’m writing a macro to parse a document in Writer and harvest all words with # in front of them (DIY hashtag keywords). I just look for the # sign and then look for the trailing space. Everything works great except for the last hashtag in a line. For example:
Hashtags: #diy #hash #tag #here
Blah, blah, blah.
parses as:
diy
hash
tag
hereBlah
I cannot figure out how to identify the CRLF/paragraph break after that last hashtag. I even tried nibbling one character at a time using CHR() to examine the ASCII code of each character, but the CRLF/paragraph break is invisible.
Got any ideas on how to detect the CRLF/paragraph break/end of line?
Thanks,
Todd