Keith Devens .com |
Wednesday, December 3, 2008 | ![]() |
| real software ships. – John Gruber | ||
|
| ← Hope | Hey! → |

Keith Gaughan (http://hereticmessiah.weblogs.com/) wrote:
Keith (http://www.keithdevens.com/) wrote:
Hey, at least VB has basic shit like ltrim! Grr! 
Keith Gaughan (http://hereticmessiah.weblogs.com/) wrote:
I've no idea how expensive it is on strings, but length() is pretty darn cheap on StringBuffer. Even then, it's just good practice to cache it anyway. After all, if you can move a call outside a loop, it's a good thing.
What's really sucky about Java strings is that they're declared as final so you can't create extended versions of them with your own extra stuff. Now that sucks.
Dean Peters (http://www.HealYourChurchWebsite.com) wrote:
Actually, VB.Net has some rather nice string capabilities via the .Net Framework ... provided you know what you're doing with regular expressions.
Feel free to post a comment below. Please see my comment policy.
Formatting Rules (No HTML):
Generated in about 0.193s.
(Used 8 db queries)

Next time you're doing string manipulation, just remember that you could be doing it in fscking slow-ass VB. Grrr!
Oh, and I'm back at college again. I notice you sent me some emails that I haven't been able to see and I'll get to them as soon as I can. Sorry, dude!