Welcome to Dream.In.Code
Become a VB.NET Expert!

Join 150,081 VB.NET Programmers for FREE! Get instant access to thousands of VB.NET experts, tutorials, code snippets, and more! There are 1,799 people online right now. Registration is fast and FREE... Join Now!




string cheaking

 
Reply to this topicStart new topic

string cheaking

a_a_s
13 May, 2008 - 09:47 AM
Post #1

D.I.C Head
**

Joined: 20 Feb, 2008
Posts: 67

hi
is their is away to check the first three letter from string
User is offlineProfile CardPM
+Quote Post

bflosabre91
RE: String Cheaking
13 May, 2008 - 10:59 AM
Post #2

D.I.C Head
**

Joined: 22 Feb, 2008
Posts: 245



Thanked: 1 times
My Contributions
look up substring
User is offlineProfile CardPM
+Quote Post

Martyr2
RE: String Cheaking
13 May, 2008 - 11:01 AM
Post #3

Programming Theoretician
Group Icon

Joined: 18 Apr, 2007
Posts: 5,660



Thanked: 313 times
Expert In: C/C++, Java, VB, VB.NET, C#, PHP, Web Development, HTML & CSS, Javascript

My Contributions
Sure there are many ways. You could check if it starts with a certain sequence using String.StartsWith(stringtocheck) or you could use a Substring function to pull off the first three letters and check if they are equal to another string value or check if it is numeric versus alpha numeric.

Check out the string functions and more at the URL below...

String Members (System) at MSDN

Enjoy! smile.gif
User is offlineProfile CardPM
+Quote Post

a_a_s
RE: String Cheaking
13 May, 2008 - 12:07 PM
Post #4

D.I.C Head
**

Joined: 20 Feb, 2008
Posts: 67

thanks it work
User is offlineProfile CardPM
+Quote Post

Fast ReplyReply to this topicStart new topic
Time is now: 1/8/09 11:32PM

Be Social

Dream.In.Code RSS Feed Dream.In.Code LinkedIn Group Follow Us On Twitter

Live VB.NET Help!

VB.NET Tutorials

Reference Sheets

VB.NET Snippets

DIC Chatroom

Bye Bye Ads

Monthly Drawing

Thumb Drive

Top Contributors

Top 10 Kudos This Month