has_extension: Check if a string has a specific extension, fails without...

Description Usage Arguments

Description

Check if a string has a specific extension, fails without extension, returns TRUE on NULL extension. This function is dumb and when it encounters filenames with multiple dots it only considers the final extension.

Usage

1

Arguments

s

string to check for the extension

e

string specifying the extension.


sakrejda/pdhs documentation built on May 28, 2019, 9:51 a.m.