I'm hoping this is some simple mistake on my part, I've been bashing my head against Strings for most of the afternoon and can't seem to make any progress.
Here's a distilled version of my problem:
char str1 = "123456789A";
int i = str1.length();
Whenever I go to compile this I get:In function 'void loop()':
error: request for member 'length' in 'str1', which is of non-class type 'char '
Searching the forums here, I found 2 changes that needed to be made to the WString library.
See the following pages:
(Sorry, I can't post links yet.) but even for those errors the sketch at least compiled.
Here's my system: Macintosh G5 PowerPC, OS 10.4.11 running Arduino 0017.All I really want to is to be able to find the length of a String
(aka. char array) and then see if 2 strings are equivalent
(which also won't work for me). I suppose I can use For loops for everything, but I guess I'm kind of stubborn sometimes.
Any ideas/suggestions/comments/criticisms/witty remarks are welcome!!!!!