String function good example

28 Jan

Good example of string functions in VB.NET.

Ref:http://www.daniweb.com/forums/thread83183.html#

Example:

Dim str As string
str = “Ramy1”
str = str.Remove(str.Length – 1);
‘ str = Ramy

Other variation:

TextBox1.Text = TextBox1.Text.Substring(0, TextBox1.Text.Length - 1)

Ref from the person that write the example:

http://ramymahrous.wordpress.com/

Update:01-29-2010

Another good tutorial on string functions

http://www.planet-source-code.com/vb/scripts/ShowCode.asp?txtCodeId=169&lngWId=10

Another good one

http://www.vbdotnetheaven.com/uploadfile/mahesh/stringsindotnet04212005074227am/stringsindotnet.aspx?login=true&user=evick

Advertisements

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: