Search Results

Searching for: strings

Individual Exercises

0 / 50

Given a string str and an int n, return a string made of the first n characters of the string, followed by the first n - 1 characters of...

0 / 50

Complete the following function. When given aString, return True if it ends in "ly". Return False otherwise.

0 / 50

Complete the following function. Given aString, return the first half of characters in that string (the string "woohoo" yields "woo")....

0 / 75

Complete the following function. Given aString, return a copy of aString where any character next to a star (*) and all stars themselves...

0 / 50

Given an outside string of length 4, such as "(())", and an inside string, return a new string where the inside is squeezed in the middle...