|
-
Apr 19th, 2007, 10:37 PM
#1
Thread Starter
Lively Member
[RESOLVED] Removing part of a line in a textbox
Currently in my program, i have a textbox which, after the click of command one, displays the selected file in the filebox, file1. My problem is, i need to remove part of the file name. The file names are all different lengths, but are all the same "*.set". What i need the button to do is remove the first part of the filename up to the underscore, and then the .set and put the rest of the file name into the textbox. For example "XRT_fe3_wr.set" becomes "fe3_wr" in the textbox. The main problem is that the files will have anywhere from 3 to 9 or 10 before the first underscore. Any ideas on how to do this?
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|