Never been to DZone Snippets before?

Snippets is a public source code repository. Easily build up your personal collection of code snippets, categorize them with tags / keywords, and share them with the world

About this user

James Robertson http://www.r0bertson.co.uk

« Newer Snippets
Older Snippets »
Showing 1-1 of 1 total  RSS 

Substring functions in XSLT

Examples of string functions (substring,substring-after, and substring-before) in XSLT.
   1  
   2  substring("ready1234",2,4)
   3  => eady 
   4  substring("ready1234", 4)
   5  => dy1234
   6  
   7  substring-after("ready1234","y")
   8  => 1234
   9  
  10  substring-before("ready1234","1")
  11  => ready


reference: X Lab: String functions [zvong.org]
« Newer Snippets
Older Snippets »
Showing 1-1 of 1 total  RSS