Compare the string with "source:" using strncmp()
then use strcpy()
using the form &buf[7] to point after source:
WaltP 2,905 Posting Sage w/ dash of thyme Team Colleague
WolfPack commented: Nice - WoLfPaCk +5
WaltP 2,905 Posting Sage w/ dash of thyme Team Colleague
John A commented: Well, that's good to know, thank you. --joeprogrammer +8
Salem commented: random rep++ from salem +6
WaltP 2,905 Posting Sage w/ dash of thyme Team Colleague