/**
 * Returns true if the string contains only alphabetic and numeric chars, false otherwise.
 *
 * @return bool Returns TRUE on success or FALSE otherwise.
 */
public function isAlphanumeric(): bool

Examples

if (Strings::create('fòôbàřs12345')->isAlphanumeric()) {
    // do something...
}

Getting Started

Methods