Skip to content

kumo.string.ends_with

kumo.string.ends_with(STRING, SUFFIX)
Since: Version 2026.04.09-ea3b2a9b

The functionality described in this section requires version 2026.04.09-ea3b2a9b of KumoMTA, or a more recent version.

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')