💻ap computer science a review

CheckForSubstring method

Written by the Fiveable Content Team • Last updated August 2025
Verified for the 2026 exam
Verified for the 2026 examWritten by the Fiveable Content Team • Last updated August 2025

Definition

The checkForSubstring method is a programming function that determines whether a given string contains a specific substring. It returns a boolean value indicating whether the substring is found within the string.

"CheckForSubstring method" also found in:

2,589 studying →