[Talend]Spliter une ligne?
Fermé
emmy1
Messages postés
7
Date d'inscription
mardi 13 mai 2008
Statut
Membre
Dernière intervention
20 mai 2008
-
20 mai 2008 à 14:27
emmy1 Messages postés 7 Date d'inscription mardi 13 mai 2008 Statut Membre Dernière intervention 20 mai 2008 - 20 mai 2008 à 15:36
emmy1 Messages postés 7 Date d'inscription mardi 13 mai 2008 Statut Membre Dernière intervention 20 mai 2008 - 20 mai 2008 à 15:36
A voir également:
- Talend split string
- Split cam - Télécharger - Messagerie
- Split 4g - Télécharger - Gestion de fichiers
- Hj split - Télécharger - Gestion de fichiers
- Uninitialized string offset ✓ - Forum PHP
- Input string was not in a correct format traduction - Forum Virus
4 réponses
epsiloneIB
Messages postés
133
Date d'inscription
mardi 20 mai 2008
Statut
Membre
Dernière intervention
13 septembre 2009
8
20 mai 2008 à 15:10
20 mai 2008 à 15:10
Essaye la méthode split de java.
tu récupères ta ligne :
while (ligne != null){
String[] tab = ligne.split("~");
++Tu fais ton traitement sur le tableau.++
}
Epsilone
tu récupères ta ligne :
while (ligne != null){
String[] tab = ligne.split("~");
++Tu fais ton traitement sur le tableau.++
}
Epsilone
emmy1
Messages postés
7
Date d'inscription
mardi 13 mai 2008
Statut
Membre
Dernière intervention
20 mai 2008
20 mai 2008 à 15:18
20 mai 2008 à 15:18
ok je vais l'essayer
merci Epsilone
merci Epsilone
epsiloneIB
Messages postés
133
Date d'inscription
mardi 20 mai 2008
Statut
Membre
Dernière intervention
13 septembre 2009
8
20 mai 2008 à 15:31
20 mai 2008 à 15:31
Dans le split tu précises ton séparateur bien sur.
Epsilone
Epsilone
emmy1
Messages postés
7
Date d'inscription
mardi 13 mai 2008
Statut
Membre
Dernière intervention
20 mai 2008
20 mai 2008 à 15:36
20 mai 2008 à 15:36
oui bien sur merci