Next: , Previous: , Up: C library functions   [Index]


strrchr

strrchr Function

#include <string.h>

String new s1;
Character new searchChar;
String new charptr;

searchChar = '/';
s1 = "/home/user";

charptr = strrchr (s1, searchChar);