Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > C Programming > Getting Substring

Thread Tools

Getting Substring

navic99 navic99 is offline
Junior Member
Join Date: Feb 2008
Posts: 1
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.
Reply With Quote

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Getting substring by regex Christine Mayer Java 5 09-07-2007 04:38 AM
Getting substring by regex Christine Mayer Java 0 09-06-2007 05:52 PM
Getting groups in sub-OU using substring of OU =?Utf-8?B?TWlrZSBE?= ASP .Net 2 07-26-2007 07:30 PM
help getting substring C Programming 8 07-16-2006 06:28 PM
RegEx search for a substring within a substring Perl Misc 3 08-03-2005 04:29 PM