Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Stripping slashes out of parameters
Message
De
05/08/2005 07:34:30
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
Visual FoxPro:
VFP 8 SP1
OS:
Windows XP SP1
Network:
Windows 2000 Server
Database:
Visual FoxPro
Divers
Thread ID:
01038840
Message ID:
01038843
Vues:
13
>I have created a routine to create a PDF report for when our users decide to produce one for a particular fabric. Basically the fabric name is passed as a parameter and used to create the name of the file. The problem is a lot of fabric names have slashes in the name. i.e.
>
>ROGOFF/5466
>BLUETONE/23/NN
>
>The problem I have is I can't save the file as this. Is there anyway I can strip the slashes out of the file. I dont know whether there are 2, 3 or 4 slahes and as to where the position will be In this instance:
>
>ROGOFF5466
>BLUETONE23NN
>
>Many Thanks
yourtext=chrtran(yourtext,'/','')
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform