O'Reilly logo

C Programming Absolute Beginner’s Guide, Third Edition by Dean Miller, Greg Perry

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

19. Getting More from Your Strings

In This Chapter

Employing character-testing functions

Checking whether the case is correct

Adding case-changing functions

Using string functions

This chapter shows you ways to take work off your shoulders and put it on C’s. C includes many helpful built-in functions in addition to ones such as strlen(), getchar(), and printf() that you’ve read about so far.

Many more built-in functions exist than there is room for in a single chapter. This chapter explains the most common and helpful character and string functions. In the next chapter, you’ll learn about some numeric functions.

Character-Testing Functions

C has several built-in character-testing functions. Now that you know how to use getchar() and ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required