Re: How to copy a substring of a string

From: Date: Sun, 30 Dec 2001 01:36:36 +0000
Subject: Re: How to copy a substring of a string
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-79039@lists.php.net to get a copy of this message
http://www.php.net/manual/en/function.substr.php On Sat, 29 Dec 2001 18:28:57 -0600, Carlos Fernando Scheidecker Antunes wrote: >Hello All, > >I've been searching on the online documentation and I'm pretty sure I've done it >before but I don't recall how. > >The problem is. I have a string with 17 characteres and I want to copy from the fourth character >6 characteres. Under Pascal I usually do copy(string,4,6). That means, copying from the fourth characters a quantity of 6 characteres. > >Is there any built in function that does that? > >Could anyone tell me that? > >Thanks, > >Carlos Fernando. >

« previous php.general (#79039) next »