How to "retrieve" only useful information in a long list
alex wu
alex298298 at yahoo.com
Fri Feb 3 09:58:47 EST 2006
Mark,
Thanks. It works! This is really a good idea. I can use this idea to do a lot of things with RR:)
Alex
Mark Smith <mark at maseurope.net> wrote:
Untested:
put offset("FIXED WORDINGS HERE", fld "myField") + length("FIXED
WORDINGS HERE") into startChar
put offset(("ANOTHER FIXED WORDINGS HERE", fld "myField") - 1 into
endChar
get char startChar to endChar of fld "myField"
Hope that helps,
Mark
On 3 Feb 2006, at 14:01, alex wu wrote:
> Hello,
>
> I have problem in "retrieving" wanted information in a
> list field.
>
> For example, the list field has the following content:
>
> Runtime Revolution is a great ...................
> .................................................
> ......................................
>
> FIXED WORDINGS HERE
>
> This is paragraph 2..............................
> ...................................
>
> Paragraph 3 start here...........................
> .................................................
> ................
>
> Paragraph 4 start here...........................
> .................................................
> ................
>
> Paragraph 5 start here...........................
> .................................................
> ................
>
> ANOTHER FIXED WORDINGS HERE
>
> This is the last paragraph ......................
> ............
>
>
> Note:
> 1. The "FIXED WORDINGS HERE" and "ANOTHER FIXED
> WORDINGS HERE" always appear in that two positions.
>
> 2. The contents of all paragraphs will be different
> with different list.
>
> Here's what I want to do:
>
> I only want the content from "FIXED WORDINGS HERE" to
> "ANOTHER FIXED WORDINGS HERE". Because this is the
> information I only needed. How can I do that?
>
> P.S.Actually the list are very long, much longer than
> the above example.
>
> Thanks and best regards
>
> Alex
>
> __________________________________________________
> Do You Yahoo!?
> Tired of spam? Yahoo! Mail has the best spam protection around
> http://mail.yahoo.com
> _______________________________________________
> use-revolution mailing list
> use-revolution at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-revolution
_______________________________________________
use-revolution mailing list
use-revolution at lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution
---------------------------------
Yahoo! Mail - Helps protect you from nasty viruses.
More information about the use-livecode
mailing list