I have coded some functions I believe you'd want to use. They're all related to strings.
One of it,
returns true if the current character is a separator included in a list. Separator can be
and space. The list can be edited to add or substract characters. This function is used by the other functions.
converts to Upper Case the first letter of every word in a phrase, except 'the', 'of', 'from', etc. The list can also be edited to add or substract the words to ignore. e. g. if you apply it to "the quick brown FOX JUMPED OVER the fence", it returns "the Quick Brown Fox Jumped Over the Fence".
is used to make a WHERE clause from a phrase. e. g. If you write
it returns
"([Product] Like 'Corn' OR [Product] Like 'Coffee' OR [Product] Like 'Rice')"
does the same but uses "Not Like" and "AND" instead of "OR"
If you want them just let me know. They're all intended for Spanish, but I can send you an English version. Anyway they're all documented so you can modify them at will. Hope this help you all.
One of it,
Code:
IsSeparator(Char)
Code:
,.:;/?"
Code:
PutUppers(Phrase)
Code:
MakeSQL(Phrase, Field)
Code:
MakeSQL("Corn, Coffee, Rice","Product")
"([Product] Like 'Corn' OR [Product] Like 'Coffee' OR [Product] Like 'Rice')"
Code:
MakeNotSQL(Phrase, Field)
If you want them just let me know. They're all intended for Spanish, but I can send you an English version. Anyway they're all documented so you can modify them at will. Hope this help you all.