【发布时间】:2017-07-19 09:38:17
【问题描述】:
我是 JSTL 的新手,正在想办法用另一个字符串分割一个字符串。例如假设我的字符串是
s= "Hello! Good Morning",
和
t = "Good ",
那么我应该有 str[0] = '你好! ' 和 str[1] = '早上'。 但是,如果我把它放进去
${fn:split(s, t)}
它正在删除所有的“G”、“o”、“d”和“”。
谢谢
【问题讨论】:
-
look here for some understanding 也可能使用谷歌
标签: java jsp jstl jstl-functions