Subtract the starting point from the ending point to get the length of the substring you want. Then use the Substring method.
--- string somestring = "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa"; int start = 54; int end = 64; string output = somestring.Substring(54, 64 - 54); --- Chris -----Original Message----- From: Falls, Travis D (HTSC, CASD) [mailto:[EMAIL PROTECTED] Sent: Thursday, December 30, 2004 2:07 PM To: '[email protected]' Subject: [AspNetAnyQuestionIsOk] subString 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] -----Original Message----- From: Mischa Kroon [mailto:[EMAIL PROTECTED] Sent: Thursday, December 30, 2004 9:59 AM To: [email protected] Subject: RE: [AspNetAnyQuestionIsOk] Re: �� ��� � ���� ��� (happy holidays) <snip> Winform controls I am not familiar with. If you have a minute, please direct me to where I can find out something, or explan something ---- URL: http://www.devhood.com/tutorials/tutorial_details.aspx?tutorial_id=187 -----Original Message----- From: scaevola637 [mailto:[EMAIL PROTECTED] Sent: donderdag 30 december 2004 12:42 To: [email protected] Subject: [AspNetAnyQuestionIsOk] Re: �� ��� � ���� ��� (happy holidays) --- In [email protected], "Mischa Kroon" <[EMAIL PROTECTED]> wrote: > Embedded winform controls / active x is the answer. > > They are MS only solutions. I am somewhat retarded, so please bear with me. As I understand it, I can write active x controls in vs.net. I can then include them in my web application and users can download them and use them to do whatever. Winform controls I am not familiar with. If you have a minute, please direct me to where I can find out something, or explan something Спасибо Yahoo! Groups Links Yahoo! Groups Links This communication, including attachments, is for the exclusive use of addressee and may contain proprietary, confidential or privileged information. If you are not the intended recipient, any use, copying, disclosure, dissemination or distribution is strictly prohibited. If you are not the intended recipient, please notify the sender immediately by return email and delete this communication and destroy all copies. Yahoo! Groups Links ------------------------ 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/
