Advertisement
Guest User

Untitled

a guest
Apr 16th, 2014
37
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.70 KB | None | 0 0
  1. dim ssfile() as string
  2. Dim sscheck As String="Your Weekend (Supp. to Press and Journal, Aberdeen)_20140205_004.pdf,Your Weekend (Supp. to Press and Journal, Aberdeen) _11111111_004.pdf"
  3. ssfile= sscheck .Split(".pdf,")
  4.  
  5. ssfile(1)='Your Weekend (Supp'
  6. ssfile(2)='to Press and Journal, Aberdeen)_20140205_004'
  7. ssfile(3)='pdf,Your Weekend (Supp'
  8. ssfile(4)='to Press and Journal, Aberdeen) _11111111_004'
  9. ssfile(5)='pdf'
  10.  
  11. ssfile(1)='Your Weekend (Supp. to Press and Journal, Aberdeen)_20140205_004.pdf'
  12. ssfile(2)='Your Weekend (Supp. to Press and Journal, Aberdeen) _11111111_004.pdf'
  13.  
  14. ssfile= sscheck.Split(new string() {".pdf,"}, StringSplitOptions.RemoveEmptyEntries)
  15.  
  16. ssFile(0) = ssFile(0) & ".pdf"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement