Skip to content

kumo.string.ends_with

kumo.string.ends_with(STRING, SUFFIX)
Since: Dev Builds Only

The functionality described in this section requires a dev build of KumoMTA. You can obtain a dev build by following the instructions in the Installation section.

Performs a plain string comparison between STRING and SUFFIX. Returns true if STRING ends with SUFFIX, otherwise false.

kumo.string.ends_with('hello world', 'world')