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

  FORUM HardWare.fr
  Programmation
  VB/VBA/VBS

  pourquoi ma fonction d'1 ligne marche pas

 


 Mot :   Pseudo :  
 
Bas de page
Auteur Sujet :

pourquoi ma fonction d'1 ligne marche pas

n°277150
grosmethos
Posté le 29-12-2002 à 16:21:30  profilanswer
 

function troncString(InsertString)
troncString=mid(InsertString,1,Len(InsertString)-1)
end function
 
 
j'utilise vbscript pour mes pages asp..
Si je remplace le -1 par un +1 ça marche !!!
 
et mon Len(InsertString)-1 sans le mid ou left me renvoie 270????

mood
Publicité
Posté le 29-12-2002 à 16:21:30  profilanswer
 

n°277152
grosmethos
Posté le 29-12-2002 à 16:27:01  profilanswer
 

laisser tomber j'ai trouvé....à un moment je renvoie un chaine null...
@+


Aller à :
Ajouter une réponse
  FORUM HardWare.fr
  Programmation
  VB/VBA/VBS

  pourquoi ma fonction d'1 ligne marche pas

 

Sujets relatifs
(lire dans un fichier ascii) pourquoi mon programme ne marche pas ?pourquoi ça marche pas ça?
Connection en SYSDBA masterkey en localhost , ne marche pas ,help!!!!numero des versions,comment ca marche?
Incorporation d'une fonction RechercheV dans une macro[JS] verif de formulaire qui marche pas
Gestion de fichier et analyse de ligne en Cfonction qui pose probleme
[C] la fonction rint, qui connait?[Progress] Fonction Accumulate qui marche pas
Plus de sujets relatifs à : pourquoi ma fonction d'1 ligne marche pas


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