Skip Top Navigation Bar

Using the split method on a String

String Methods

We've compiled some helpful String methods below.

Methods that are part of the AP Computer Science A Java subset are denoted by the APCSA label.

A complete list of String methods can be found in the String API.

split method

The split method is a String method that is part of the AP CSA Java Subset. This method returns a collection of data called an array. This method will be revisited once arrays have been introduced.

Complete List of String Learn Tutorials

Resources

Next Learn Tutorial