It should be {1,2,3,4}.
'String.count(foo,foo);' must always return 1.
/ Hedda (Hemma igen)
Previous text:
2003-04-29 01:50: Subject: Strange?
Isn't this a bit strange?
String.count("","");
(9) Result: 1
String.count(" ","");
(10) Result: 0
String.count(" ","");
(11) Result: 1
String.count(" ","");
(12) Result: 2
I could understand the series {1,2,3,4}, {-1,0,1,2} and {0,0,1,2} though.
/ Martin Nilsson (har bott i google)