www.webdeveloper.com
Results 1 to 2 of 2

Thread: problem splitting string

  1. #1
    Join Date
    May 2010
    Posts
    19

    problem splitting string

    Let me tell you what I want to do: get external information from yahoo in csv format and then save it to my local.

    Code:
    Dim objXmlHttptemp
    Dim strHTMLtemp
    
    Set objXmlHttptemp = Server.CreateObject("Msxml2.ServerXMLHTTP")
    
    sql="http://ichart.finance.yahoo.com/table.csv?s=%5EGSPC&d=9&e=24&f=2010&g=d&a=0&b=3&c=2005"
    
    objXmlHttptemp.open "GET", sql , False
    
    objXmlHttptemp.send
    
    strHTMLtemp = objXmlHttptemp.responseText
    as you may see at the address
    http://www.iisconsult.ro/down.asp

    the data is downloaded

    Now my problem is when I want to split the HTML on blanks

    I use split(strHTMLtemp," ") but nothing happens

    Can you help me

  2. #2
    Join Date
    Jan 2008
    Location
    Florida
    Posts
    1,227
    how are you using the split feature? Once you split it, you are creating an array that you must parse.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
HTML5 Development Center



Recent Articles