Results 1 to 2 of 2

Thread: Advance String Manipulation

  1. #1

    Thread Starter
    Lively Member
    Join Date
    Nov 2001
    Location
    UK
    Posts
    99

    Exclamation 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!

  2. #2
    Hyperactive Member Bananafish's Avatar
    Join Date
    Jan 2001
    Posts
    394
    Thats easier than it looks...

    VB Code:
    1. 'strOld = "SYS:\system\02000010.QDR","LONG","DAR_ADMIN_GROUP.DAR.DFEE",RWF
    2.  
    3. dim strNew as string
    4.  
    5. 'Note the need to protect the " by doubling it up -
    6. 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
  •  



Click Here to Expand Forum to Full Width