0
/ 30
Given a string, return true
if "bad" appears starting at index 0 or 1 in the string, such as with "badxxx" or "xbadxx" but not "xxbadxx"....
Searching for: substring
Given a string, return true
if "bad" appears starting at index 0 or 1 in the string, such as with "badxxx" or "xbadxx" but not "xxbadxx"....
Given an out
string of length 4, such as "<<>>", and a word
, return a new string where the word
is in the middle of the out
...
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,...