Elegant way of finding text

LiveCode is the premier environment for creating multi-platform solutions for all major operating systems - Windows, Mac OS X, Linux, the Web, Server environments and Mobile platforms. Brand new to LiveCode? Welcome!

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller

Post Reply
christerp1
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 15
Joined: Tue Jan 26, 2010 1:11 am

Elegant way of finding text

Post by christerp1 » Mon Nov 01, 2010 3:06 pm

I have found a way to get extracted text with a beginning word and ending word, and was thinking would there be a direct function to make it in a more elegant way. Instead of finding, parsing foundChunk and using char selection.

Also what I found was that finding in a variable would not always work, one needs to use a (field) container. It is a question of several pages of text.

Any ideas?

dunbarx
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 10305
Joined: Wed May 06, 2009 2:28 pm

Re: Elegant way of finding text

Post by dunbarx » Mon Nov 01, 2010 8:46 pm

Not sure what you mean when you say you cannot find "in a variable". Certainly you can.

If you post your script, I or any one of about sixty respondents will be able to help you implement it as a function.


Craig Newman

Post Reply