python_string_operations

Python String Operations

All string types support all sequence operations (see Table 3), plus string-specific methods (described in String methods). In addition, the str type supports string formatting % expressions and template substitution (discussed next), and the bytearray type supports mutable sequence operations (Table 4, plus extra list-like methods). Also see the re string pattern-matching module in The re Pattern-Matching Module, and string-related, built-in functions in Built-in Functions.

python_string_operations.txt · Last modified: 2024/04/28 03:21 (external edit)