March 2019
Intermediate to advanced
640 pages
23h 40m
English
Objectives
In this chapter, you’ll:
Understand text processing.
Use string methods.
Format string content.
Concatenate and repeat strings.
Strip whitespace from the ends of strings.
Change characters from lowercase to uppercase and vice versa.
Compare strings with the comparison operators.
Search strings for substrings and replace substrings.
Split strings into tokens.
Concatenate strings into a single string with a specified separator between items.
Create and use regular expressions to match patterns in strings, replace substrings and validate data.
Use regular expression metacharacters, quantifiers, character classes and grouping.
Understand how critical string manipulations are to natural language processing.
Read now
Unlock full access