开发者

Manipulate String In XSL

I have a string variable in xsl - I want to be able to get the first chara开发者_C百科cter in that string. Is there a sort of "cut" method that I can use to retrieve this value?


 <xsl:value-of select="substring($string,1,1)"/>


Yes, see the example usage of substring here: http://msdn.microsoft.com/en-us/library/ms256054.aspx

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜