Skip to content

Instantly share code, notes, and snippets.

@osak
Created April 6, 2013 11:40
Show Gist options
  • Save osak/5325824 to your computer and use it in GitHub Desktop.
Save osak/5325824 to your computer and use it in GitHub Desktop.
public class Main {
public static void main(String[] args) {
System.out.println("hoge".indexOf(' '));
String str = "hoge fuga";
System.out.println(str.indexOf(' '));
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment