Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Bug in GetWordNum
Message
De
14/08/2017 08:51:06
 
 
À
14/08/2017 07:15:39
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
Visual FoxPro:
VFP 9 SP2
OS:
Windows 10
Divers
Thread ID:
01653264
Message ID:
01653281
Vues:
65
Sorry -- missed that detail; put the code in off-the-top-of-my-head... now try...
lcString = "test1|test2||test4"
DO WHILE ATC("||", lcString) > 0
   lcString = STRTRAN(lcString, "||", , "| |")
ENDDO
IF LEFT(lcString, 1) = "|"
  lcString = " " + lcString
ENDIF
lcThird = GETWORDNUM(lcString, 3, "|")
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform