List of string manipulation subroutines

The string manipulation functions include:

The string manipulation functions include:

  • Locate a character position within a string
  • Locate a sequence of characters within a string
  • Copy a string
  • Concatenate strings
  • Compare strings
  • Translate a string
  • Measure a string

When using these string functions, you do not need to include a header file for them in the program or specify a special flag to the compiler.

The following functions manipulate string data:

gets, fgets
Get a string from a stream
puts, fputs
Write a string to a stream
compile, step, advance
Compile and match regular-expression patterns
strlen, strchr, strrchr, strpbrk, strspn, strcspn, strstr, strtok
Perform operations on strings
jcode
Performs string conversion on 8-bit processing codes.
varargs
Handles a variable-length parameter list