Hi,
Can you share the reason for this request ?
Also the problem of number of spaces between words .
Perhaps native SQL can help using functions like SOUNDEX,UPPER etc.
I never tried those functions myself.
see here SDB_ADBC - Power to the people... about native SQL (We have Oracle )
Regards.