|
-
Oct 17th, 2002, 05:40 AM
#1
Thread Starter
Lively Member
Advance String Manipulation
help me guys, this is hard here is a sample line of the string i am useing:
"SYS:\system\02000010.QDR","LONG","DAR_ADMIN_GROUP.DAR.DFEE",RWF
basicly i need SYS:\system\02000010.QDR & LONG & DAR_ADMIN_GROUP.DAR.DFEE & RWF
so all the things within the speechmarks, the string is pretty structured so thats good. i also need the RWF bit from the end, any help would be ace, this is very important and i really need this code by friday, any help would be amazing, many thanks!
-
Oct 17th, 2002, 05:53 AM
#2
Hyperactive Member
Thats easier than it looks...
VB Code:
'strOld = "SYS:\system\02000010.QDR","LONG","DAR_ADMIN_GROUP.DAR.DFEE",RWF
dim strNew as string
'Note the need to protect the " by doubling it up -
strNew = strOld.Replace(""""c,"")
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
|