JSTL fn:endsWith() 函数

2025 年 3 月 17 日 | 阅读 1 分钟

fn:endsWith() 函数用于测试输入字符串是否以指定的后缀结尾。 如果字符串以指定的后缀结尾,则返回 true,否则返回 false。

包含 fn:endsWith() 函数的语法是

让我们看一个简单的例子来理解 fn:endsWith() 函数的功能

输出

JSTL Function Tags3