split strings (and split thread)

This is a discussion on split strings (and split thread) within the C Programming forums, part of the General Programming Boards category; i want to split the following string into separate variable using c program this is my string ->21#abcdefgh$ijklmno#0 plz post ...

  1. #1
    Registered User
    Join Date
    Oct 2011
    Posts
    7

    split strings (and split thread)

    i want to split the following string into separate variable using c program
    this is my string ->21#abcdefgh$ijklmno#0
    plz post the code if any one know

  2. #2
    and the hat of wrongness Salem's Avatar
    Join Date
    Aug 2001
    Location
    The edge of the known universe
    Posts
    32,558
    Look up strtok() or strchr()

    And read the forums rules about (not) demanding code up front without showing some effort.
    If you dance barefoot on the broken glass of undefined behaviour, you've got to expect the occasional cut.
    If at first you don't succeed, try writing your phone number on the exam paper.
    I support http://www.ukip.org/ as the first necessary step to a free Europe.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. (split) yet another how to declare main thread
    By DevoAjit in forum C Programming
    Replies: 1
    Last Post: 10-28-2011, 05:54 AM
  2. Thinning a bitmap (split thread)
    By Paramjeet Kaur in forum C Programming
    Replies: 2
    Last Post: 05-20-2011, 09:38 PM
  3. Summat about cars (thread split)
    By drae in forum C Programming
    Replies: 1
    Last Post: 11-19-2010, 09:44 AM
  4. popen with a fossil (split from bumped thread)
    By leandroaz in forum Windows Programming
    Replies: 3
    Last Post: 09-12-2008, 01:47 PM
  5. Reading a book (split from the books thread)
    By mkeisu in forum C++ Programming
    Replies: 4
    Last Post: 05-05-2008, 05:37 PM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21