0% found this document useful (0 votes)
13 views2 pages

Ctype String Notes

The document lists various functions related to character and string manipulation in programming. It includes functions for checking character types, string length, copying, appending, comparing, and memory operations. Each function is briefly described by its purpose.

Uploaded by

kiratusamson
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
13 views2 pages

Ctype String Notes

The document lists various functions related to character and string manipulation in programming. It includes functions for checking character types, string length, copying, appending, comparing, and memory operations. Each function is briefly described by its purpose.

Uploaded by

kiratusamson
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd

# Notes on and

## Functions

- isupper: checks uppercase letter

- islower: checks lowercase letter

- isalpha: alphabetic

- isdigit: digit 0–9

- isalnum: alphanumeric

- isspace: whitespace

- iscntrl: control character

- ispunct: punctuation

- isprint: printable

- isgraph: printable except space

- isxdigit: hexadecimal digit

- toupper: convert to uppercase

- tolower: convert to lowercase

## Functions

- strlen: length of string

- strcpy: copy string

- strncpy: copy n characters

- strcat: append string

- strncat: append n characters

- strcmp: compare strings

- strncmp: compare first n chars

- strchr: find first occurrence of char

- strrchr: find last occurrence of char


- strstr: find substring

- strtok: tokenize string

- memcpy: copy memory block

- memmove: safe memory copy

- memset: fill memory

- memcmp: compare memory blocks

You might also like