09-06-2008, 04:57 PM
|
#2 (permalink)
|
|
The Frequenter
Join Date: Dec 2007
Location: Bucharest, Romania
Posts: 438
Thanks: 3
|
You can use strlen.
The only difference is speed there. (string) is an explicit cast (aka a language construct), whereas strval is a function, and therefore, is more memory consuming.
__________________
I have optimistic thoughts, even though sometimes (if not always) life's a bitch.
|
|
|
|