when in java we can use
sting_name.substring(start, end);
to get a new substring
String full_line = "this is a simple line.";
String part_line;
System.out.println(full_line);
part_line = full_line.substring(10, 16);
System.out.println(part_line);
how can do that same thing in c? is there any function similar to substring?
char full_line[] = "this is a simple line" ;
char part_line[20];
printf("\n%s\n",full_line);
//part_line ;