/**
 * Removes single and double quotes from a string.
 *
 * @return self Returns instance of The Strings class.
 */
public function stripQuotes(): self

Examples

$string = Strings::create('some "text" here')->stripQuotes();

echo $string;

The above example will output:

some text here

Getting Started

Methods