Tag Archives: substr

substr string function csubstr in c

csubstr string function in c

To get substring from string:

Function prototype:

char *csubstr(char *str,int sp,int noc);

where sp is starting point of substring and noc is number of characters to be taken

csubstr function implementation in c.

substr string function in c