TGD All American 8912 Posts user info edit post |
[Edited on March 30, 2006 at 8:14 PM. Reason : answered my own question, free thread ]
3/30/2006 8:09:23 PM |
Perlith All American 7620 Posts user info edit post |
In response to your original unedited post ... I would separate them just from the standpoint of code reability/maintenance. 3/30/2006 8:16:43 PM |
skokiaan All American 26447 Posts user info edit post |
I always wonder about what kind of crazy shit some programmer somewhere is trying to do. 3/30/2006 8:52:41 PM |
TGD All American 8912 Posts user info edit post |
just wanted to do something like myString.toLowerCase().substring(0,4).contains("foo ")
works just fine
[Edited on March 30, 2006 at 8:58 PM. Reason : good point Perlith, thx] 3/30/2006 8:58:20 PM |