Many instances of example code are provided in the ULP manual. However,
no resultant output is provided that demonstrates a particular
function. One example is in the documentation of strsub(). The example
code reads:
Example
string s = "This is a string";
string t = strsub(s, 4, 7);
printf("The extracted substring is: %s\n", t);
Added to this should be something on the order of:
Prints:
The extracted substring is: is a s
Many functions could use this. strstr(), strsplit(), etc.
Enjoy,
- Chuck