Im a newbie in programming.
How do you retreive part of a string in a c program?

eg.
char mytext[] = "abcdef[12345]";

I want to retreive the value inside the []...

Please help.