Post Reply 
REPLACE Doesn't.
03-31-2017, 02:10 PM
Post: #5
RE: REPLACE Doesn't.
(03-31-2017 02:06 PM)toml_12953 Wrote:  I tried this:

PHP Code:
x:="apple pie";
replace(x"apple""orange");
print(
x); 

"apple pie" prints. I'm really craving orange pie! Smile It seems to be a problem replacing characters in a variable.


Tom L

See eried's post prior to yours; you need to save the result since the function does not modify the input in place.

Graph 3D | QPI | SolveSys
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
REPLACE Doesn't. - toml_12953 - 03-31-2017, 01:40 PM
RE: REPLACE Doesn't. - Dieter - 03-31-2017, 01:48 PM
RE: REPLACE Doesn't. - toml_12953 - 03-31-2017, 02:06 PM
RE: REPLACE Doesn't. - Han - 03-31-2017 02:10 PM
RE: REPLACE Doesn't. - toml_12953 - 03-31-2017, 02:15 PM
RE: REPLACE Doesn't. - Tim Wessman - 03-31-2017, 03:59 PM
RE: REPLACE Doesn't. - Dieter - 03-31-2017, 05:25 PM
RE: REPLACE Doesn't. - toml_12953 - 04-01-2017, 12:25 AM
RE: REPLACE Doesn't. - eried - 03-31-2017, 01:53 PM



User(s) browsing this thread: 1 Guest(s)