Search
- Filter Results
- Location
- Classification
- Include attachments
- https://eng.libretexts.org/Bookshelves/Computer_Science/Programming_Languages/Python_Programming_(OpenStax)/16%3A_Answer_Key/16.07%3A_Chapter_8This page covers string operations such as comparisons, slicing, searching, formatting, and splitting/joining. It explains ASCII values for string order, substring extraction, counting, finding method...This page covers string operations such as comparisons, slicing, searching, formatting, and splitting/joining. It explains ASCII values for string order, substring extraction, counting, finding methods, and error handling. The text includes examples for modifying strings and using delimiters in splitting and joining. Overall, it offers a thorough overview of string manipulation in programming.
- https://eng.libretexts.org/Courses/Arkansas_Tech_University/Engineering_Modeling_and_Analysis_with_Python/06%3A_Strings/6.07%3A_The_in_operatorThis page explains the boolean operator "in," which checks if one string is a substring of another, returning True or False based on its presence. Examples demonstrate that 'a' is found in 'banana' (T...This page explains the boolean operator "in," which checks if one string is a substring of another, returning True or False based on its presence. Examples demonstrate that 'a' is found in 'banana' (True), while 'seed' is not present (False).
- https://eng.libretexts.org/Bookshelves/Computer_Science/Programming_Languages/Python_Programming_(OpenStax)/08%3A__Strings/8.03%3A_Searching_Testing_StringsThis page discusses string manipulation techniques in programming, focusing on using the 'in' operator, count() method, and find()/index() methods for substring operations. It includes examples and ch...This page discusses string manipulation techniques in programming, focusing on using the 'in' operator, count() method, and find()/index() methods for substring operations. It includes examples and checkpoint questions to enhance comprehension, emphasizing practical applications like iterating through strings and counting characters. A suggested exercise involves creating a program to count and remove spaces from a string, reinforcing these concepts through hands-on practice.
- https://eng.libretexts.org/Bookshelves/Computer_Science/Programming_Languages/Introduction_to_Programming_using_Fortran_95_2003_2008_(Jorgensen)/11%3A_Characters_and_Strings/11.07%3A_Character_SubstringsA substring is a subset or part of a string.
- https://eng.libretexts.org/Courses/Arkansas_Tech_University/Engineering_Modeling_and_Analysis_with_Python/06%3A_Strings/6.10%3A_Parsing_stringsThis page provides a guide on extracting a substring from an email address using Python string methods. It details how to locate the "@" symbol and the subsequent space to slice the string for the dom...This page provides a guide on extracting a substring from an email address using Python string methods. It details how to locate the "@" symbol and the subsequent space to slice the string for the domain part (e.g., "uct.ac.za"). The process involves using the `find` method to identify character positions for slicing. Documentation for the `find` method is also referenced.
- https://eng.libretexts.org/Bookshelves/Computer_Science/Programming_Languages/Python_Programming_(OpenStax)/08%3A__Strings/8.02%3A_String_SlicingThis page covers string manipulation techniques in programming, emphasizing string indexing, slicing, and the concept of immutability. It explains how to access characters and substrings through both ...This page covers string manipulation techniques in programming, emphasizing string indexing, slicing, and the concept of immutability. It explains how to access characters and substrings through both positive and negative indexing. The text notes that strings cannot be modified directly, necessitating the creation of new string objects for any changes. Additionally, it includes examples and practice questions to enhance understanding of string handling.
- https://eng.libretexts.org/Courses/Arkansas_Tech_University/Engineering_Modeling_and_Analysis_with_Python/06%3A_Strings/6.04%3A_String_SlicesThis page explains string slicing in Python, which selects a portion of a string using indices. A slice includes characters from the starting index up to, but not including, the ending index. Omitting...This page explains string slicing in Python, which selects a portion of a string using indices. A slice includes characters from the starting index up to, but not including, the ending index. Omitting the starting index begins the slice at the start of the string, while omitting the ending index slices to the end. If the starting index equals or exceeds the ending index, it returns an empty string. It also raises a question about the outcome of slicing a string with fruit[:].

