Essential Question: How can I search and index strings?
Mastery Objectives:
SWBAT use string functions.
SWBAT parse strings.
Do Now: Write a program to create a new string made of an input string’s first, middle, and last character. Create a string and set it equal to your name. Hints: String index always starts with 0, Use string indexing to get the character present at the given index, Get the index of the middle character by dividing string length by 2
Directions: Type the code below onto a trinket and write a comment describing what each of the pieces of code does.