View Full Version : How to extract certain data patterns from vb6 textbox input?


tony007
04-25-2006, 02:37 PM
Hi all .i got the following inside a textbox inside my vb6 form. I am looking for a way to ripp the song path and title from it and use them and insert them to mysql datbase. But i do not know how to ripp those part
i be happy that an expert tell me how i can do it using vb6. The number of song path are not know in before and the parts
that i want to write to mysql are shown in bold.Thanks


data inside my texbox:
<?xml version="1.0" encoding="UTF-8" ?>
- <player showDisplay="yes" showPlaylist="yes" autoStart="yes">
<song path="http://www.mysite.com/TtdlI3l1lIl0OOO0a/singer1/album1/song1.mp3" title="song title" />
<song path="http://www.mysite.com/TtdlI3l1lIl0OOO0a/singer1/album1/songname2.mp3" title="song title 2" />

</player>