String Manipulation

From: Date: Thu, 10 Apr 2003 02:23:12 +0000
Subject: String Manipulation
Groups: php.db 
Request: Send a blank email to php-db+get-26971@lists.php.net to get a copy of this message
Hi there everyone, How can I easily change specific characters of a string? I tried the following: $passroutine = str_replace("a", "z", $passroutine); But it doesn't seem to work? Basically it needs to replace letters throughout the whole string - whether a seperate word such as A or within a word such as Abra. Any help would be greatly appreciated :-) Thanks Chris

« previous php.db (#26971) next »