Java is the future !: startHi

Monday, October 11, 2010

startHi

You've given a string, return true if the string starts with "hi" and false otherwise.

startHi("hi chankey") → true
startHi("hi") → true
startHi("heya hi") → false

Solution :

1 comment: