Use the substring method of the String object.
Substring(ByVal startIndex As Integer, ByVal length As Integer) As
String
Retrieves a substring from this instance. The substring starts at a
specified character position and has a specified length.
Parameters
startIndex: The index of the start of the substring.
length: The number of characters in the substring.
Return Value: A equivalent to the substring of length length that begins
at startIndex in this instance.
-or-
if startIndex is equal to the length of this instance and length is
zero.
I highly suggest getting Lutz Roeder's free class browser
(called Reflector) at http://www.aisto.com/roeder/dotnet .
Cheers,
Peter
-----Original Message-----
From: Falls, Travis D (HTSC, CASD) [mailto:[EMAIL PROTECTED]
I have to get a substring from a String. I have the starting point and
the ending point meaning I need the string that is between position say
54 and 64. How can I do this?
Travis D. Falls |Consultant, Raft.Net IT | 860.547.4070 |
[EMAIL PROTECTED]
------------------------ Yahoo! Groups Sponsor --------------------~-->
Make a clean sweep of pop-up ads. Yahoo! Companion Toolbar.
Now with Pop-Up Blocker. Get it for free!
http://us.click.yahoo.com/L5YrjA/eSIIAA/yQLSAA/saFolB/TM
--------------------------------------------------------------------~->
Yahoo! Groups Links
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/AspNetAnyQuestionIsOk/
<*> To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]
<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/