DRAFT of specification if Indexing By words for strings.

Ruslan Zasukhin sunshine at public.kherson.ua
Wed Sep 22 18:22:10 CDT 2004


On 9/22/04 5:45 PM, "jda" <jda at his.com> wrote:

>> 
>>>> 
>>>>  In your case it looks solution is
>>>>      * REPLACE for many entries
>>>>      * BaseObject method field and its index.
>>>> 
>>>>  So you need way to create such BaseObject method, which can prepare
>>>> correct
>>>>  string for index.
>>>> 
>>> 
>>>  Right. And that will be possible in 2.x?
>> 
>> We need simply make ReplaceAll() for you :-)
>> 
> 
> :->
> 
> Can you show us an example of how such a method would look with many
> different words that need to be ignored? I can only figure out how to
> do it for one.

I see few ways:

* you use nested calls.

* more effective of course send few words in the same time.

You know, may be for you task the best is
    
        DeleteAll( s, [von, va] )


> And if the field is indexed as case-insensitive, will the replaceAll
> be case insensitive, too?

Why not?


-- 
Best regards,
Ruslan Zasukhin      [ I feel the need...the need for speed ]
-------------------------------------------------------------
e-mail: ruslan at paradigmasoft.com
web: http://www.paradigmasoft.com

To subscribe to the Valentina mail list go to:
http://lists.macserve.net/mailman/listinfo/valentina
-------------------------------------------------------------



More information about the Valentina-beta mailing list