Can anyone tell me how i can supress few strings or integers while reading with $sscanf.
I read a line from a file into a string. there are few strings and integers seperated by white spaces in the line. I am interested in one string which comes at postion 5 in the line. how can i suppress all other strings and integers with $scanf.
i tried the following syntax but it dint work.
$sscanf(line,"* * * * %s",string_arg);
i am tring to supress first 4 integers/strings in the line.
try this $sscanf(line,"*%s *%s *%s * %s%s",string_arg);