User Tools

Site Tools


en:examples:strings:scanning_a_string_for_values

Scanning a string for values

Operates in the same way as the standard scanf function.

orxSTRING resolutionString = "640x480";
 
int width = 0;
int height = 0;
 
orxString_Scan(resolutionString, "%dx%d", &width, &height);
en/examples/strings/scanning_a_string_for_values.txt · Last modified: 2020/07/05 04:50 (4 years ago) by sausage