hello friends,
can u help me.
how to print first string in a line.(before first space)
for example:
String str={"Hello world java"}
output
Hello
can u help me.
how to print first string in a line.(before first space)
for example:
String str={"Hello world java"}
output
Hello
Comment