![]() |
| ||
| substitute a string i am reading a url and inthat i have an array that has stored the value of a string as follows address=no+3%2C+oxford+street some one please give me the code to write this as the output i want... |
| ||
| Re: substitute a string There are other ways, but here is one: my $string = 'address=no+3%2C+oxford+street'; |
| ||
| Re: substitute a string Quote:
it worked thanks !! |
| ||
| Re: substitute a string actually there was an error in this line: (my $key,$value) = split(/=/,$string); should have been: my($key,$value) = split(/=/,$string); |
| All times are GMT -4. The time now is 7:03 pm. |
Forum system based on vBulletin Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
©2003 - 2009 DaniWeb® LLC