Changes

Jump to: navigation, search

OPS435 Python Lab 4

23 bytes removed, 08:41, 21 June 2017
INVESTIGATION 2: STRINGS
= INVESTIGATION 2: STRINGS =
:Strings are basically a list of characters (bits of text). Strings store text so that they can be later 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''', '''formatting strings''', '''searching through strings''', and '''matching strings against patterns'''.<br><br>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 partspart of the string (i.e. sub-stringsstring), and then manipulate this string for a particular purposemanipulation.
== PART 1 - Strings and Substrings ==
13,420
edits

Navigation menu