Skip to main content

Applications with Strings and Text

  • Chapter
  • First Online:
Beginning C

Abstract

In this chapter, you’ll extend your knowledge of arrays by exploring how you use an array of characters to represent a string. You’ll frequently need to work with a text string as a single entity. C doesn’t provide a string data type. Instead, C uses an array of elements of type char to store a string. This chapter will show you how to create and work with variables that store strings and how the standard library functions greatly simplify string processing (including the C Library Extension 1).

This is a preview of subscription content, log in via an institution to check access.

Access this chapter

Chapter
USD 29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD 59.99
Price excludes VAT (USA)
  • Available as EPUB and PDF
  • Read on any device
  • Instant download
  • Own it forever

Tax calculation will be finalised at checkout

Purchases are for personal use only

Institutional subscriptions

Author information

Authors and Affiliations

Authors

Rights and permissions

Reprints and permissions

Copyright information

© 2020 German Gonzalez-Morris and Ivor Horton

About this chapter

Check for updates. Verify currency and authenticity via CrossMark

Cite this chapter

Gonzalez-Morris, G., Horton, I. (2020). Applications with Strings and Text. In: Beginning C. Apress, Berkeley, CA. https://doi.org/10.1007/978-1-4842-5976-4_6

Download citation

Publish with us

Policies and ethics