Hi Onello,
See nFlags parameter. The tip is its value with 2. Try:
MESSAGEBOX([width Width Bandwidth BandWidth bandwidth bandWidth] + CHR(13);
+ STRTRAN([width Width Bandwidth BandWidth bandwidth bandWidth];
, [width], [Width], -1, -1, 2);
)
I hope this help you.
>Hello There...
>
>I have been trying to create a small program which can do the function of an Spell Checker. Using the StrTran functión I've been able to do what I want to, more or less. The main line of the program is next:
>
>Store StrTran(Texto, (txtFraseO), (txtFraseM)) To Texto
>
>The problem is that sometimes it does some kind of mixing when it comes to compound words. Example: If I want to change all the "width" words in Text by "Width"... it does fine, but it can occur a mixing in a cases like these:
>
>ORIGINAL WORD CORRECTED WORD
>
>width Width
>Bandwidth BandWidth
>bandwidth bandWidth
>
>I don't want it to change it in the "Bandwidth" or "bandwidth" cases, just when de words are alone. I tried putting a blank space at the beginning, but it does not take it.
>
>I was wondering if there is other Function or Command that could allow me to do a best work... or, if you can give me a clue of what am I doing wrong, or give me an idea of what is missing for this to work as expected.
>
>Thanks In Advanced....
Erick
Força Sempre!
Strength Always!