|
|
|||||||||
|
|||||||||
| |||||||||
|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
Get inside! Sample the range of functionality easily built with JMSL Library for Time Series Data Analysis, Heat Maps, Portfolio Optimization, Monte Carlo Simulation, Stock Price Charting and more. Download Now! |
|
#1
|
|||
|
|||
|
How to get substring?
Hi,
I have a string 1234abc. How can I have 123XYZ4a using XSL functions? Thanks alot, |
|
#2
|
|||
|
|||
|
substring(node, start, length)
Code:
<xsl:variable name="StringValue">1234abc</xsl:variable> <xsl:value-of select="substring($StringValue,1,3)"/>XYZ<xsl:value-of select="substring($StringValue,4,2)"/> |
![]() |
| Viewing: Dev Shed Forums > Programming Languages - More > XML Programming > How to get substring? |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|