Unpacking serial data from arduino

The method split(String) in the type String is not applicable for the arguments (char)

where is the argument declared char?