Nope, str(r)chr() returns NULL if the searched for item is not found.
However, as Elysia says, you can not modify what a pointer points to, unless you pass a pointer to pointer. [Or you could return a pointer].
--
Mats
Oh, ok, thanks for clarifying. I didn't know that.
01-01-2009
stevesmithx
Quote:
Originally Posted by carrotcake1029
The only problem I am having now is that when no extension is found, I want to return a null pointer, but for some stupid reason I am not seeing, I don't know how to make it a null pointer can anyone help me out. The line I am trying to set it to null is highlighted in red.