Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Problem with removing something from string
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00469416
Message ID:
00470606
Vues:
36
>Sorry for responding so late, but i haven't had any time to look at the UT.
>(and haven't read all the new messages yet)
>But if you want to hold the case, you can create a copy of the string converted to uppercase. Then search for the string SITEMSTR there with at etc. Then you can remove that word from the original string. (You know the position now)
>The best you work from the end of the string to the beginning, cause if the string you are replacing has a different lenght, then you can have problems with working from the beginning to the end of the string.

Thanks, Ko. Check the whole thread, Steven Black and Ed Rauh gave me already working solution.

And, besides, it turns out to not be a problem for this particular application, because I check my code in the form and I always consistent with the names of the tables, e.g. I always use SiteMstr, PropMstr, TranMstr.
If it's not broken, fix it until it is.


My Blog
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform