extracting a string between two patterns

I have a 100 chars wide string with few '\n' characters, I want to extract the string between the first and the second '\n'.
how can I do it without using streams or vectors as I am using AVR GCC .
This is an extremely simple programming exercise. Give it a shot.
Last edited on
Topic archived. No new replies allowed.