About 5,980,000 results
Open links in new tab
  1. C Library – <string.h> - GeeksforGeeks

    Mar 5, 2023 · string.h is a standard header file in the C language that contains functions for manipulating strings (arrays of characters). <string.h> header file contains some useful string functions that can be directly used in a program by invoking the #include preprocessor directive.

  2. C String Functions - GeeksforGeeks

    Apr 16, 2025 · These string functions make it easier to perform tasks such as string copy, concatenation, comparison, length, etc. The <string.h> header file contains these string functions. The below table lists some of the most commonly used string functions in the C language: Find the length of a string excluding ‘\0’ NULL character.

  3. C Standard Library String Functions - Online Tutorials Library

    The string.h header defines one variable type, one macro, and various functions for manipulating arrays of characters. Library Variables. Following is the variable type defined in the header string.h −

  4. <cstring> (string.h) - C++ Users

    This header file defines several functions to manipulate C strings and arrays.

  5. C string (string.h) Library Reference - W3Schools

    The <string.h> library has many functions that allow you to perform tasks on strings. A list of all string functions can be found in the table below: Well organized and easy to understand Web building tutorials with lots of examples of how to use HTML, CSS, JavaScript, SQL, PHP, Python, Bootstrap, Java and XML.

  6. C String Functions - W3Schools

    To use them, you must include the <string.h> header file in your program: For example, to get the length of a string, you can use the strlen() function: In the Strings chapter, we used sizeof to get the size of a string/array. Note that sizeof and strlen behaves differently, as sizeof also includes the \0 character when counting:

  7. C <string.h> - Programiz

    The C string.h header file declares a set of functions to work strings. In this page, you will find various string library functions to work with strings.

  8. C Language <string.h> Header File Functions - Includehelp.com

    C Language <string.h> Header File Functions. This header file contains all kind of string related function for string manipulation. Some of the functions are : strlen(), strcpy(), strupr(), strlwr(), strrev(), strcmp(), strcmpi(), strcat(), strncpy(), memset(). 1) strlen() - String Length. strlen function returns length of the string without ...

  9. C Programming/string.h - Wikibooks, open books for an open …

    Apr 22, 2018 · string.h is the header in the C standard library for the C programming language which contains macro definitions, constants and declarations of functions and types used not only for string handling but also various memory handling functions; the name is thus something of a …

  10. C Language: Standard Library Functions - string.h - TechOnTheNet

    In the C Programming Language, the Standard Library Functions are divided into several header files. The following is a list of functions found within the <string.h> header file:

Refresh