Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Spell Checker
Message
De
10/09/2007 08:10:15
Erick Miranda
Formata Data Business - Grupo Linx
Contagem, Brésil
 
 
À
08/09/2007 22:08:17
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Versions des environnements
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP SP2
Network:
Windows 2000 Server
Database:
Visual FoxPro
Divers
Thread ID:
01253249
Message ID:
01253373
Vues:
23
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!
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform