# removeRight
Returns a new string with the suffix $substring removed, if present.

## Description
`static removeRight(string $substring)`

### Parameters
* _string_ __$substring__  
The suffix to remove.


### Return Value
_static_  
String without the suffix $substring.