Edit: If what you really wanted was to split the string on "nothing", as it looks like in that code. If that code actually contains a space, rather than an empty String, than remember that if the String starts with a space (i.e. the separator) then the first element of the String array will be an empty String, which is also the case if you really did attempt to split on the empty String. This is because the String starts with the separator character, but the separator character should only come after the "field, so the first field must be an empty String.

that is my problem, my string doesn't contain any empty character but still when I'm printing the result it gives me the first character empty.

There are no empty characters; there are empty Strings i.e. Strings that don't contain any characters at all but there are no empty characters. A character may not be printable using a certain Font but that is just a matter of display; remember: there are no empty characters, never.

when i run it I get an error messeage like:
"Exception in thread "main" java.lang.Error: Unresolved compilation problem:
The method check(int, int, String) in the type Mmn11q2 is not applicable for the arguments (int, int, char)