commas in custom properties
mswindel at santacruz.k12.ca.us
Mon Aug 29 14:54:15 CDT 2005
Don't know if this will help, but I just used the "replace x with y"
feature in a project I'm working on where there were multiple lines
with returns at the end and not commas:
put the cpImageItems into cleanMeUp
replace return with comma in cleanMeUp
if x is among the items of cleanMeUp then
in this way all the line breaks are converted to items.
Otherwise, in the following, "big cat wolf" is considered item 2 of 3
tiger, big cat
wolf, wild dog
On Aug 29, 2005, at 10:14 AM, Lars Brehmer wrote:
> Hi all!
> I'm sure I've seen this question on the list befrore, but darned if I
> can find it again!
> I use text stored in custom properties for word searching purposes,
> among other things, and I need to know how to "ignore" commas. For
> example a custom property that contains;
> to read, recite
> Using the broader search (mark cds where it is in the storedText of
> me) it wil return for "to" , "read" and "recite."
> in a more precise word search (mark cds where it is among the words of
> the storedText of me) it will only return for "to" or "recite" , but
> obviously not for "read" because of the comma. I'm pretty sure this
> can be done somehow, most likely very easily, but I can't seem to
> discover it on my own.
> A little help (once again!)
More information about the use-livecode