2015-01-10 14:45:14 -08:00
|
|
|
IO.print("abcd".startsWith("cd")) // expect: false
|
|
|
|
|
IO.print("abcd".startsWith("a")) // expect: true
|
|
|
|
|
IO.print("abcd".startsWith("abcd")) // expect: true
|
|
|
|
|
IO.print("abcd".startsWith("abcde")) // expect: false
|
2015-01-11 19:13:15 -08:00
|
|
|
IO.print("abcd".startsWith("")) // expect: true
|