SplitToWords

jda jda at his.com
Wed Nov 10 07:00:13 CST 2004


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

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. That seems like a lot of work (and overhead) just to 
get this one function to work. Or am I missing something (very 
possible)?

Jon


More information about the Valentina-beta mailing list