vbdotnetnoobie
New member
- Joined
- Jan 7, 2010
- Messages
- 1
- Programming Experience
- Beginner
What code can I use to trim a word from a string in Visual Basic.NET?
for example, If I had the following string:
Dim str As String = "Hello World"
And I want to trim this string so it only displays "Hello"
I have tried a few trim functions but can;t work it out.
Thanks very much.
for example, If I had the following string:
Dim str As String = "Hello World"
And I want to trim this string so it only displays "Hello"
I have tried a few trim functions but can;t work it out.
Thanks very much.