🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: pl.comp.lang.php
Article #1830

Re: explode

#1830
From: MySZ
Date: Fri, 31 Aug 2001 07:01
13 lines
1248 bytes
> co zrobic aby "\" mogl byc separatorem w explode() ? Znalazlem gdzies
> (manual?) zeby uzyc "\92" ale to mi nie dziala. A moze musze najpierw
> odpowiednio przygotowac explodowany tekst?

$a="a1234\b123\c1235\d2132\e3542\f5245\g24525\h542432\i3543";
$b=explode("\\",$a);
for ($q=0;$q<=9;$q++) {
 echo $b[$q]."<br>";
}

> Kazzik

    MySZ
Technical Details
Message-ID: <9mncom$9mq$1@news.tpi.pl>
Path: mbox-mo1.pugleaf.net!news-archive.icm.edu.pl!pingwin.icm.edu.pl!mat.uni.torun.pl!news.man.torun.pl!news.man.poznan.pl!news.astercity.net!newsfeed.tpinternet.pl!news.tpi.pl!not-for-mail
References: <3b8f29d7$1@news.vogel.pl>

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!news-archive.icm.edu.pl!pingwin.icm.edu.pl!mat.uni.torun.pl!news.man.torun.pl!news.man.poznan.pl!news.astercity.net!newsfeed.tpinternet.pl!news.tpi.pl!not-for-mail
From: " MySZ" <msztol@poczta.onet.pl>
Newsgroups: pl.comp.lang.php
Subject: Re: explode
Date: Fri, 31 Aug 2001 09:01:26 +0200
Organization: tp.internet - http://www.tpi.pl
Lines: 14
Message-ID: <9mncom$9mq$1@news.tpi.pl>
References: <3b8f29d7$1@news.vogel.pl>
NNTP-Posting-Host: pa148.szczecin.sdi.tpnet.pl
Mime-Version: 1.0
X-Trace: news.tpi.pl 999241302 9946 194.204.141.148 (31 Aug 2001 07:01:42 GMT)
X-Complaints-To: usenet@tpi.pl
NNTP-Posting-Date: 31 Aug 2001 07:01:42 GMT
X-Priority: 3
X-MIMEOLE: Produced By Microsoft MimeOLE V6.00.2526.0000
X-Newsreader: Microsoft Outlook Express 6.00.2526.0000
X-MSMail-Priority: Normal
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 7bit