How to avoid that "3" be in "34" ?

Mark Smith mark at maseurope.net
Sat Jan 21 19:28:04 EST 2006


Also, assuming that there are no spaces in the values in the field:

if (myVar & space) is not in fld "myField" then put cr & myVar after  
fld "myField"

Mark

On 21 Jan 2006, at 20:07, Mark Schonewille wrote:

> Hi André,
>
> If all entries are in separate lines, you could do
>
> if myVar is not among the lines of fld "myField" then
>
> but if you have a list of items, using the comma as item delimiter,  
> for instance, you might use
>
> if myVar is not among the items of fld "myField" then
>
> Best,
>
> Mark
>
>
>
> André.Bisseret wrote:
>> Hello,
>> If I have “AB-b3” in myVar and “AB-b34” in a fld “myField”
>> when I script :
>> If myVar is not in fld “myField” then put cr & myVar after fld  
>> “myField”
>> AB-b3 is not added to myField !! It is “considered” as being  
>> already in fld “myField” ; well, I understand why ((AB-b3)4)
>> But how could I avoid that ?
>> Thanks in advance for help !
>> André
>
> -- 
>
> eHUG coordinator
> mailto:europe at ehug.info
> http://www.ehug.info
> http://home.wanadoo.nl/mark.sch
> http://www.economy-x-talk.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




More information about the use-livecode mailing list