Thread: what is strchr func

  1. #1
    Registered User
    Join Date
    Oct 2006
    Posts
    5

    what is strchr func

    What is the strchr function?

  2. #2
    Registered User SKeane's Avatar
    Join Date
    Sep 2006
    Location
    England
    Posts
    234
    RTFM

    strchr()

    (strrchr()) Returns a pointer to the first (last) occurrence of character c in string s, or a null pointer if c does not occur in the string. The null byte terminating a string is considered to be part of the string.

  3. #3
    Registered User
    Join Date
    Oct 2006
    Posts
    5
    Thank you.I am using it with \n to strip it off.
    ur info helped me a lot.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Basic question about GSL ODE func RK4
    By cosmich in forum Game Programming
    Replies: 1
    Last Post: 05-07-2007, 02:27 AM
  2. how can i call a func by touching some adrs ?
    By jabka in forum C Programming
    Replies: 6
    Last Post: 04-25-2007, 01:41 PM
  3. Using strchr() and moving the cursor up one row
    By Mavix in forum C Programming
    Replies: 7
    Last Post: 09-26-2006, 12:34 PM
  4. typedef a func
    By trekker in forum C Programming
    Replies: 4
    Last Post: 07-02-2002, 05:15 AM
  5. Delete & print func()
    By spentdome in forum C Programming
    Replies: 5
    Last Post: 05-29-2002, 09:02 AM