Documentation

Utils

Table of Contents

trimSlashes()  : string
Trims forward slashes (`/`) from the front and end of a string.

Functions

trimSlashes()

Trims forward slashes (`/`) from the front and end of a string.

trimSlashes(string $string) : string
Parameters
$string : string

String to trim

Return values
string

Trimmed string

Search results