Abstract
We have some unfinished business left over from the previous chapter. Figure 13-1 in Chapter 13 shows content from the blog table with just the first two sentences of each article displayed and a link to the rest of the article. However, I didn’t show you how it was done. There are several ways to extract a shorter piece of text from the beginning of a longer one. Some are rather crude and usually leave you with a broken word at the end. In this chapter, you’ll learn how to extract complete sentences.
Access this chapter
Tax calculation will be finalised at checkout
Purchases are for personal use only
Author information
Authors and Affiliations
Rights and permissions
Copyright information
© 2014 David Powers
About this chapter
Cite this chapter
Powers, D. (2014). Formatting Text and Dates. In: PHP Solutions. Apress, Berkeley, CA. https://doi.org/10.1007/978-1-4842-0635-5_14
Download citation
DOI: https://doi.org/10.1007/978-1-4842-0635-5_14
Published:
Publisher Name: Apress, Berkeley, CA
Print ISBN: 978-1-4842-0636-2
Online ISBN: 978-1-4842-0635-5
eBook Packages: Professional and Applied ComputingProfessional and Applied Computing (R0)Apress Access Books