Removing one character from string
#5

Quote:
Originally Posted by PowerPC603
Посмотреть сообщение
Did you replace the @ by a space perhaps?

str_replace("@", "", YourEmail);

Should do it.
The second parameter is just an empty string: "".
The second parameter should be " " and not "", otherwise it's not a space. And no a underline does not count as a space.
Reply


Messages In This Thread
Removing one character from string - by CH | FuDo - 29.01.2014, 17:34
Re: Removing one character from string - by PowerPC603 - 29.01.2014, 18:50
Re: Removing one character from string - by CH | FuDo - 30.01.2014, 06:30
Re: Removing one character from string - by thimo - 30.01.2014, 06:32
Re: Removing one character from string - by AlonzoTorres - 30.01.2014, 07:26
Re: Removing one character from string - by CH | FuDo - 30.01.2014, 16:49
Re: Removing one character from string - by ProjectMan - 30.01.2014, 16:56

Forum Jump:


Users browsing this thread: 1 Guest(s)