Strlen and replace problem
I aint exactly sure if it is the len or the replace that dont work.......
if (strlen(string,1)="@") { replace ( string, 1, "@","(at)") } somebody who can help ? |
hmmm i think it is the strlen that is wrong........it returns a number but i need to check for the char "@"
|
|
could be :)
but cant figure out how to put the code.... i want to check the first letter in a string, only the first letter. If that letter is a "@" i want to replace it with "(at)" |
Code:
|
Hi there :)
That looks more correct to me, but still cant make it work...... Tried this: Code:
And this: Code:
|
Show the full code ...................
|
Code:
|
Code:
|
Code:
|
| All times are GMT -4. The time now is 05:09. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.