C Strings
In C programming, a string is a sequence of characters.
For example, "apple"
is a string/sequence of characters 'a'
, 'p'
, 'p'
, 'l'
, 'e'
.
C String Tutorials
- C – Compare Strings
- C – Concatenate Strings
- C – Convert String to Lowercase
- C – Convert String to Uppercase
- C – Find Index of Substring in String
- C – Print String to Standard Output
- C – Reverse a String
- C – Replace First Occurrence of a Substring
- C – Replace All Occurrences of a Substring
- C – Split String
- C – String Length
- C – Trim String
Checks
- C – Check if String contains Substring
- C – Check if String Starts with Specific Substring
- C – Check if String Ends with Specific Substring
Conversions
- C – Convert String to Integer
- C – Convert Integer to String
- C – Convert String to Float
- C – Convert Float to String
Conclusion
In this C Tutorial, we learned about different concepts of Strings in C programming with dedicated tutorials for each of the concepts.