separator of variable size in split,...

From: Date: Mon, 09 May 2005 15:35:52 +0000
Subject: separator of variable size in split,...
Groups: php.mirrors 
Request: Send a blank email to php-mirrors+get-28120@lists.php.net to get a copy of this message
Hello, I seek a function which divides one given chain into a table of under-chains by using a separator of variable (undefined) size, in order to emulate the function SCANF of the language C. I looked on your site the Split, spliti, preg_split, explode functions. ex: array Split (string pattern, string string [, int limit ]) typically, which interests me , can one specify: string pattern = 1 or several (an undefined number of) consecutive characters "SPACES" ? in the Split function or another... Please can you answer quickly ? cordially, Alain M. Original french message : ________________________________ De : MADELRIEUX Alain RD-CORE-ISS Envoyé : mardi 3 mai 2005 16:05 À : 'webmaster@php.net' Objet : separateur variable dans split,... Bonjour, Je cherche une fonction qui scinde une chaine en un tableau de sous-chaines en utilisant un séparateur de taille variable , pour émuler la fonction SCANF du langage C. J'ai regardé sur votre site les fonctions split , spliti , preg_split , explode . ex : array split ( string pattern, string string [, int limit] ) typiquement , ce qui m'interesse , peut on préciser : string pattern = 1 ou plusieurs caractères "ESPACE" consécutifs ? dans la fonction split ou une autre... cordialement, alain M. ------Translated Message------ ________________________________ Of : MADELRIEUX Alain RD-CORE-ISS Envoy : Tuesday May 3, 2005 16:05 With : ' webmaster@php.net' Subject : variable separator in Split...

Attachment: [message/rfc822]
« previous php.mirrors (#28120) next »