Closed
Description
This is Issue 847 moved from a Google Code project.
Added by 2012-03-06T16:59:23.000Z by [email protected].
Please review that bug for more context and additional comments, but update this bug.
Original labels: Type-Enhancement, Priority-Medium
Original description
What change would like to see?
find(char) doesn't exist, which means you need to wrap a single character as a string.
Why?
The current situation is completely fine with literals - e.g find("$") instead of find('$') - but it can get unnecessarily complex with variables.
For instance you can't write:
char target;
...
find(target);
Instead you need to do something along the lines of:
char target;
...
char buf[2];
buf[0] = target;
buf[1] = 0x00;
find(buf);
Metadata
Metadata
Assignees
Labels
No labels