05.05.2013, 19:22
You can use sscanf() and specify _ as the delimiter
sscanf(Name, "p<_>s[24]s[24]", First, Last);
format(Name, sizeof(Name), "%s %s", First, Last);
sscanf(Name, "p<_>s[24]s[24]", First, Last);
format(Name, sizeof(Name), "%s %s", First, Last);