We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 47d3b65 commit 6628bb0Copy full SHA for 6628bb0
build/shared/examples/8.Strings/StringComparisonOperators/StringComparisonOperators.pde
@@ -114,10 +114,10 @@ void loop() {
114
stringTwo += analogRead(A5);
115
116
if (stringOne.compareTo(stringTwo) < 0 ) {
117
- Serial.println(stringOne + " comes after " + stringTwo);
+ Serial.println(stringOne + " comes before " + stringTwo);
118
}
119
else {
120
- Serial.println(stringOne + " comes before " + stringTwo);
+ Serial.println(stringOne + " comes after " + stringTwo);
121
122
123
0 commit comments