Changes

Jump to: navigation, search

OPS435 Python Lab 4

93 bytes removed, 08:38, 21 June 2017
INVESTIGATION 2: STRINGS
| style="border: 2px solid black;" | Strings
| style="border: 2px solid black;" | Regular Expressions
| style="border: 2px solid black;" | Strings
| style="border: 2px solid black;" | Miscellaneous
:*[https://docs.python.org/3/library/re.html Regular Expression Operations]
:*[https://docs.python.org/3/howto/regex.html Regular Expressions (HOWTO)]
| style="border: 2px solid black;" valign="top"|
:*x
:*x
:*x
| style="border: 2px solid black;" valign="top"|
:*[https://docs.python.org/3/tutorial/datastructures.html#dictionaries Dictionaries]
= INVESTIGATION 2: STRINGS =
:Strings are basically a list of characters (bits of text). Strings store text so that they can be later used for manipulation (by a wide range of functions). This section will investigate strings in more detail such as cutting strings into sub-strings, joining strings together, formatting strings, searching through strings, and matching strings against patterns. Strings are '''immutable''' data objects - this means that once a string is created, it <u>cannot</u> be modified. In order to make a change inside a string, you would first make a copy of the parts(sub-strings), and then manipulate this string for a particular purpose.
== PART 1 - Strings and Substrings ==
13,420
edits

Navigation menu