SplitToWords

Ruslan Zasukhin sunshine at public.kherson.ua
Wed Nov 10 16:00:08 CST 2004


On 11/10/04 2:00 PM, "jda" <jda at his.com> wrote:

>>> Is there some reason this can't be implemented in a more
>>>  straightforward fashion, like Valentina.EscapeString? Do we really
>>>  need to go to the trouble of creating an indexedbyword field first
>>>  and then using its method to splitByWord?
>> 
>> It cannot be in the Valentina module.
>> 
>> It must be in the Vfield itself BECAUSE result of SplitToWords() depend on
>> index style of a field. You see?
>> 
> 
> Please explain. What index style? Locale? Then can't we pass that as
> a parameter to the method?

IndexStyle -- this is new feature Jon.
We have discuss it a lots on list.

Check example API/IndexStyle.


> What I've tried with v2 now is to "hijack" an existing indexed field
> (e.g. authors) and use it to get the splittowords result. This works,
> but if I call it repeatedly from different methods -> crash. So I'm
> thinking I need to create a table and a field dedicated to just this
> one function. 

NO !!!!!!!!!!!!!!!!!!!!!!!!!!

You need call SplitToWords using that field into which you will store
string.


> That seems like a lot of work (and overhead) just to
> get this one function to work. Or am I missing something (very
> possible)?

-- 
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