Getting Substring

Discussion in 'C Programming' started by navic99, Feb 6, 2008.

  1. navic99

    navic99

    Joined:
    Feb 6, 2008
    Messages:
    1
    Likes Received:
    0
    I've never used C before and will just be using bits of it (mostly string manipulation) for a project I'm working on...and it doesn't seem very friendly to me as a VB/ASP guy!!

    I need to extract a substring from a string. Here's my string.

    -56-43 5675:5673.777945','456'

    I need to get the 456 out of there. How can I do this? I can't seem to find any basic substring functions in C.
     
    navic99, Feb 6, 2008
    #1
    1. Advertisements

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.