I have a string str[80]="Hello #YourName#, this is an example"
I need a function to determine if str contains a variable pattern like: #YourName# (pattern is defined between the '#' characters). If str contains the pattern, return YourName
I know sscanf is used to read memory to variable.
How can I use SSCANF to get this variable?
Thank you.



LinkBack URL
About LinkBacks


