From: Justin French [mailto:[EMAIL PROTECTED]]
Sent: Friday, July 19, 2002 7:39 AM
To: php
Subject: [PHP] best way to delete char# 4-7 from a string?
Hi,
Let's say I have the following string:
$str = 'abcdefghijklmnop';
...and I want to strip out char #'s 4 through to 7
dunno how much slower it'd be, but it might look better. You could convert
the strings to an array, use array_splice(), and then convert back to a
string.
-Original Message-
From: Justin French [mailto:[EMAIL PROTECTED]]
Sent: Friday, July 19, 2002 3:39 PM
To: php
Subject: [PHP] best way
2 matches
Mail list logo