String.prototype.beforeLast >= 0.1.2

Purpose

Return the string before the last occurence of the given needle

Syntax

String#beforeLast ( Stringneedle );

Parameters

needle
The string to look for

Return values

String