Results 1 to 6 of 6

Thread: [RESOLVED]Cut pieces out of long string.

Threaded View

  1. #1

    Thread Starter
    Addicted Member
    Join Date
    Apr 2008
    Posts
    128

    Exclamation [RESOLVED]Cut pieces out of long string.

    Hey,

    I am kinda stuck at a program im developing.
    I am trying to get 2 pieces of data out of html code.
    Code:
    <h4><span class="fn n"><span class="given-name">Debbie</span> <span class="additional-name">T.</span> <span class="family-name">Coachman</span></span></h4>
    Ok this is what i have
    I want to cut out: Debbie
    And Couchman
    What i thought was
    Search for this :
    Code:
    <span class="given-name">
    Start the selection and stop when it hits :
    Code:
    </span>
    Same goes for Coachman
    From:
    Code:
    <span class="family-name">
    To
    Code:
    </span>
    I dont really know how to do this..
    Hope some of you guys can help me with this
    Last edited by menzow; Apr 26th, 2010 at 05:33 PM. Reason: Thread resolved

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