Substring functions in XSLT

Examples of string functions (substring,substring-after, and substring-before) in XSLT.

substring("ready1234",2,4)
=> eady 
substring("ready1234", 4)
=> dy1234

substring-after("ready1234","y")
=> 1234

substring-before("ready1234","1")
=> ready

reference

X Lab: String functions [zvong.org]

Tags:
Source:
1906hrs.txt
Published:
10-12-2013 19:06