Substr, strmid
Hi again, is there any stand-ins for substr and strmid? Or why these functions are not included by default? Those are important functions..
|
Re: Substr, strmid
You need to add your own error trapping. Untested
PHP Code:
|
Re: Substr, strmid
Yep it's ok, thanks. I have done something similar
Code:
strmid( const source[], dest[], start, end) { |
Re: Substr, strmid
Default escape character is ^ not \
You can change it using: Code:
|
Re: Substr, strmid
I didn't know that, thanks.
|
Re: Substr, strmid
Use the EOS (End Of String) constant to terminate strings.
String[ 5 ] = EOS; |
Re: Substr, strmid
Yes, same thing.
|
Re: Substr, strmid
Quote:
|
| All times are GMT -4. The time now is 01:08. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.