Bonjour,

Je travaille actuellement sur un petit logiciel avec Flex Builder 3.

Je rencontre un problème avec la fonction search.

j'essaie de splitter un texte et d'en retirer certaines informations.

Voici la source qui pose probleme :

Texte à splitter :

top.DeleteRecentResults('harz50#pokerstarsfr&null');
top.PlayerRecentForm['harz50#pokerstarsfr&null&0']=['484536378','€9.05','1323994874','6/6','-€10','NL','H','','null'];
top.PlayerRecentForm['harz50#pokerstarsfr&null&1']=['484539014','€4.70','1323993837','8/10','-€5','NL','H',',T,F,','null'];
top.PlayerRecentForm['harz50#pokerstarsfr&null&2']=['484542773','€9.42','1323993048','6/6','-€10','NL','H',',T,F,','null'];
top.PlayerRecentForm['harz50#pokerstarsfr&null&3']=['484520893','€9.13','1323992885','4/6','-€10','NL','H',',T,','null'];
top.PlayerRecentForm['harz50#pokerstarsfr&null&4']=['484540432','€18.84','1323992825','6/6','-€20','NL','H',',T,F,','null'];
top.PlayerRecentForm['harz50#pokerstarsfr&null&5']=['484527917','€18.84','1323991623','4/6','-€20','NL','H',',T,F,','null'];
top.PlayerRecentForm['harz50#pokerstarsfr&null&6']=['481178544','€0','1323990726','53/97','€0','NL','H',',FPP,T,R,','Y','€0'];
top.PlayerRecentForm['harz50#pokerstarsfr&null&7']=['484509610','€9.09','1323990514','5/9','-€10','NL','H',',T,','null'];
PlayerList['harz50#pokerstarsfr&null']=['harz50',2154,'0.1',11,'3','208','LLLLLLNL','pokerstarsfr',null,'null',null,'null','null','null','null','null','null','null','null','null','null',null,'null',null,null,'null','null','null',62,'null',null];
UpdateResults(1,525,2);
DisableSearchFields(false);
Source pour splitter :

// SplitResult est le contenu du texte plus haut
debut=SplitResult.search("PlayerList");
fin=SplitResult.search("UpdateResults");
la variable début retourne bien la position de "PlayerList" en revanche la variable fin trouve pas la position de "UpdateResults" ( retourne 0 ).

Si une âme charitable a une solution à me proposer je suis preneur !

Merci