Developing Matt

My Technical Journal

String.Trim

leave a comment »

When trim doesn’t trim what you think it should trim
When you’ve tried and you’ve tested and your face has gone grim
And you’ve pulled out your hair from your head to your chin
Try to trim on the string; just add trim to the end

String.Trim doesn’t care if white spaces or tabs
String.Trim doesn’t care if it’s a tree or your abs
Just apply it liberally where trimming’s a must
And watch the excess fall to the dust.

‘example of trim
dim sValue as string = ”     some string this is.”
sValue = (sValue.Trim)

Advertisements

Written by matt

April 3, 2008 at 1:22 pm

Posted in Asp.net, poetry, VB.net

Tagged with

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: