|
-
Apr 12th, 2008, 08:30 AM
#1
Thread Starter
Frenzied Member
[RESOLVED] [2005] locations in Strings
Hello in one of my programs i have a textbox that retrieves the name the users computer is registered to. There is one problem with it, it retrieves the value /Alex Torthor (made up name) with a " / " before the name. I know it's possible because i read it in a book somwhere i just forget...
How do i retrieve all the text that comes after the first character the " / " ?
also while you are replying how do you retrieve the text value that comes between two " / " to retrieve a value
For example i want to know the users name to complete this path:
C:/documents and settings/users name/desktop/MyFileorFolder
or i want a label to just show /MyFileorFolder not the stuff that comes before it. But i want it to still have the value of:
C:/documents and settings/users name/desktop
Please Help!
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
|