String routines in c, C/C++ Programming

Available in the string.h header file are the following routines  
This joins string2 to string1; care must be taken to allocate enough space for the answer 
This locates the position of the first occurrence of the character within the string and returns the address of that character i.e. a Find 
This compares string2 to string1, if no difference if found a NULL character is returned else the address of the first non matching character.
The copies the string2 into string1
Returns the length of the string 
Returns a non-zero number if the character is a letter, otherwise a zero is returned
Returns a non-zero number if the character is uppercase, otherwise a zero is returned
Returns a non-zero number if the character is lower case, otherwise a zero is returned
Returns a non-zero number if the character is a digit i.e. 0-9, otherwise a zero is returned
Returns the upper case version of the character 
  tolower (character);
Returns the lower case version of the character

Posted Date: 4/16/2013 12:48:25 AM | Location : United States

Related Discussions:- String routines in c, Assignment Help, Ask Question on String routines in c, Get Answer, Expert's Help, String routines in c Discussions

Write discussion on String routines in c
Your posts are moderated
Related Questions
Problem: (a) Using a class hierarchy of your own choosing, with at least TWO subclass levels, show (i) the use of abstract and concrete forms of Java class and method in you

A palindrome is a string that reads the same from both the ends. Given a string S convert it to a palindrome by doing character replacement. Your task is to convert S to palindrome

6999066263304447777077766622337778 -----> message sent by the first smuggler. my name is robert---------> message decoded by the second smuggler. Where ‘0’ denotes the "space". Ex

At a shop of marbles, packs of marbles are prepared. Packets are named A, B, C, D, E …….. All packets are kept in a VERTICAL SHELF in random order. Any numbers of packets with thes

Define the Modulo Division Operator in c language? The C provides one more arithmetic operator % called as modulo division operator and this operator yields the remainder of an

C Programming and Data Structures 1. Define and explain flow chart with an example. 2. Write an algorithm to print all even numbers in descending order and draw the flowcha

Using your mountain project source code as a starting point, you are to write a code that randomly chooses one of the triangles on the surface of your mountain, this will be the en

A: Provide a friend operator class Base { public: friend std::ostream& operator ... protected: virtual void printOn(std::ostream& o) const; }; inline std::ostr

Write a program that finds the minimum total number of shelves, including the initial one required for this loading process.

I need help programing this... In this exercise, you will create a program for the sales manager at Computer Haven, a small business that offers motivational seminars to local comp