Quiz Yourself on Extraction Helper Methods

Test your knowledge regarding extraction helper methods.

Quiz

1

What would be the result of the following code?

<?php

use Illuminate\Support\Str;

Str::beforeLast('sub.example.org', '.');
A)

example

B)

sub

C)

sub.example

D)

example.org

Question 1 of 50 attempted

Get hands-on with 1400+ tech skills courses.