C programming for unix/windows.
Can you tell me how it is possible to truncate the www. from
www.anyname.com and print it on the end of another statement like:
webmaster@"anyname.com goes here.
In C you can manipulate strings, but you have to allocate memory to store
the strings. The following code fragment may help.
char *s = "www.anyname.com"
while( *s && *s != '.' )s++;
[ back to toc ]