strrchr programming

strrchr(“/bin/pwd”, ‘/’) = “/pwd”

strchr, strrchr, strchrnul – locate character in string.

#define _GNU_SOURCE
#include<stdio.h>
#include<string.h>
main()
{
char *stringp;
stringp=strrchr(“/bin/pwd”,’/’);
printf(“n %s n”,stringp);
}

http://php.net/manual/en/function.strrchr.php

Agassi, Andre: Farewell to Tennis
[audio: http://www.freeinfosociety.com/media/sounds/3828.mp3]