| about | help | done | prefs | create account |
Java > String-1 > left2
prev | next | chance
| Given a string, return a "rotated left 2" version where the first 2 chars are moved to the end. The string length will be at least 2.
left2("Hello") → "lloHe" left2("java") → "vaja" left2("Hi") → "Hi" ...Save, Compile, Run See also Java Example Code. Java help docs: If Boolean Logic | Strings | While and For Loops | Arrays and Loops |
Forget It! -- delete my code for this problem
New just for fun
Random User Progress Graphs
Random Epic Graphs
133.0
Copyright Nick Parlante 2006-11 - privacy