Forum |  HardWare.fr | News | Articles | PC | S'identifier | S'inscrire | Shop Recherche
1461 connectés 

  FORUM HardWare.fr
  Programmation

  VB : manipulation d'une string ...

 


 Mot :   Pseudo :  
 
Bas de page
Auteur Sujet :

VB : manipulation d'une string ...

n°19970
HelloWorld
Salut tout le monde!
Posté le 22-03-2001 à 19:42:28  profilanswer
 

une boite de dialogue me renvoit ce chemin :
 
chemin="c:\repertoire1\repertoire2\fichier"
 
sachant que fichier s'appelle toujours fichier (7 lettres),
je voudrais récupérer dans chemin2 :
 
chemin:="c:\repertoire1\repertoire2"

mood
Publicité
Posté le 22-03-2001 à 19:42:28  profilanswer
 

n°20089
pampi
Posté le 23-03-2001 à 14:17:37  profilanswer
 

hop !

n°20090
Lord II
PIB2000
Posté le 23-03-2001 à 14:27:29  profilanswer
 

bah il y a mid  
 
regarde dans la msdn pour l'utilisation


---------------
La bave du crapaud n'empèche pas la caravane de passer .
n°20102
thegti
La constipation se soigne ...
Posté le 23-03-2001 à 14:58:09  profilanswer
 

Left(chemin,Len(chemin)-8)
ou
Mid(chemin,1,Len(chemin)-8)

n°20118
mid
Posté le 23-03-2001 à 16:01:51  profilanswer
 

On parle de moi?? ;)

n°20131
HelloWorld
Salut tout le monde!
Posté le 23-03-2001 à 16:57:53  profilanswer
 

Thanks les gars avec MID c'est nickel (T'es une bete vraiment :))


Aller à :
Ajouter une réponse
  FORUM HardWare.fr
  Programmation

  VB : manipulation d'une string ...

 

Sujets relatifs
[VB] supprimer ou remplacer les " ' " dans un stringcomment inclure un caractere 'NewLine' dans une String en java ?
[KSH] manipulation de strings avec les [A-Z]* et rsh 
Plus de sujets relatifs à : VB : manipulation d'une string ...


Copyright © 1997-2022 Hardware.fr SARL (Signaler un contenu illicite / Données personnelles) / Groupe LDLC / Shop HFR