Results 1 to 2 of 2

Thread: Parsing witespace

  1. #1

    Thread Starter
    New Member
    Join Date
    Oct 2000
    Posts
    5

    Post

    Hey ho.

    Is it possible to split a string by spaces, but ignore spaces inside quotation marks? (")
    Thanx very much!
    Jonno Manning

    The Lurker from The Deep

  2. #2
    Fanatic Member gwdash's Avatar
    Join Date
    Aug 2000
    Location
    Minnesota
    Posts
    666
    Yeah, Do you have VB6? Then use the Split Function to split on the quotation marks. Then take the non quoted sections and split on spaces. If don't have VB6 then look around for the Split Function Code(I've seen it posted at least 5 times)

    If you need code, then post, i'll try to whip some up!
    GWDASH
    [b]VB6, Perl, ASP, HTML, JavaScript, VBScript, SQL, C, C++, Linux , Java, PHP, MySQL, XML[b]

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