Search Results

Searching for: String

Individual Exercises

0 / 30

Given a string, return the string made of its first two chars, so the string "Hello" yields "He". If the string is shorter than length 2,...

0 / 50

Given two strings, word and a separator sep, return a big string made of count occurrences of the word, separated by the separator...

0 / 50

Given a string, count the number of words ending in 'y' or 'z'--so the 'y' in "heavy" and the 'z' in "fez" count, but not the 'y' in...

0 / 50

Write a method called listLength() that takes in a list of strings and returns a list of their lengths as integers. You must create a new...

0 / 20

Given a string, compute a new string by moving the first char to come after the next two chars, so "abc" yields "bca". Repeat this...