Mail Archives: djgpp/1998/09/26/16:35:22
Jorge Ivan Meza Martinez wrote:
>
> Hi,
>
> has StrClass an 'endsWith' method ?
>
> I need a method that tells me with a boolean if a string ends with another
> string;
> I need it to see if a filename has the extension that I require.
>
> thanks,
>
> Jorge Ivan Meza Martinez
> jimeza AT usa DOT net
> jimezam AT armenia DOT multi DOT net DOT co
> jimeza.home.ml.org
strtok looks for a string in a string (It might be a character in a string, I can't
remember, so strtok(string1,".exe") will see if the string contains .exe in it.
Peter Allen
- Raw text -