Article ID: 38335 - View products that this article applies to.
This article was previously published under Q38335
The example below shows how to use the sscanf() C run-time function to read from an internal buffer delimiting fields with a comma (,). The key is to use the brackets in the format of sscanf() function. The format will be %[^','], which tells the function to read from the buffer until a comma (,) is reached.
Article ID: 38335 - Last Review: July 13, 2004 - Revision: 3.1