substring()
XSLT / XPath参考:XSLT元素, EXSLT函数,XPath函数,XPath轴
该substring函数返回给定字符串的一部分。
句法
substring( string , start [, length] )参数
string_要评估的字符串。
start子字符串中string开始的位置
length(可选)子字符串的长度。如果省略,则返回的字符串将包含从start位置到string _ 的结尾的每个字符。
Returns
A string.
Notes
As in other XPath functions, the position is not zero-based. The first character in the string has a position of 1, not 0.
Defined
Gecko support
Supported.
本文档系腾讯云开发者社区成员共同维护,如有问题请联系 cloudcommunity@tencent.com

