Practice String Java Api