I want to truncate the string ... & string should show ">>" at the end of string......
if i use this .....<xsl:value-of select="umbraco.library:TruncateString($currentPage/ancestor-or-self::*[@isDoc]/c1block1_Content, 120,' >>')" disable-output-escaping="yes"/>
then it only shows ">>" if string characters are more than 120 , which i dont want....
&
if i use <xsl:value-of select="umbraco.library:TruncateString($currentPage/ancestor-or-self::*[@isDoc]/c1block1_Content, 120,' ')" disable-output-escaping="yes"/> >>
thenit shows ">>" in next line...
if i see view source then it shows something like this...it automatically creates <p></p> tags....
problem with truncate string
Hi,
I want to truncate the string ... & string should show ">>" at the end of string......
if i use this .....<xsl:value-of select="umbraco.library:TruncateString($currentPage/ancestor-or-self::*[@isDoc]/c1block1_Content, 120,' >>')" disable-output-escaping="yes"/>
then it only shows ">>" if string characters are more than 120 , which i dont want....
&
if i use <xsl:value-of select="umbraco.library:TruncateString($currentPage/ancestor-or-self::*[@isDoc]/c1block1_Content, 120,' ')" disable-output-escaping="yes"/> >>
thenit shows ">>" in next line...
if i see view source then it shows something like this...it automatically creates <p></p> tags....
<p>string</p> >>
how to solve this....
is working on a reply...