Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Single occurrence in a string
Message
De
30/03/2015 14:04:18
 
 
À
30/03/2015 13:11:42
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
Visual FoxPro:
VFP 9 SP2
OS:
Windows 7
Network:
Windows 2008 Server
Database:
Visual FoxPro
Application:
Desktop
Divers
Thread ID:
01617326
Message ID:
01617454
Vues:
57
Almost afraid ask what a solution in Lisp, APL or Forth would look like...

Lisp:
(remove-duplicates "heyyyy cooooool aaaaaa"
                   :test #'(lambda (x y)
                             (unless (eql x #\space)
                               (char-equal x y)))
                   :from-end t)
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform