Actually i am storing this formatting text as HTML into a databse field of Text data type.now i am facing problem in display this text.
i have to show all formatting text on another page. but if length of text is greater than 600 characters, then a link (more ) should be display , and when user clicks on link full html text will be display on page. but the problem is i can not simply use substring to cut the string, becase text is stored with Html tags
for example user enters text="I am a man" then it will be stored as "
i am a man
", so if i want to display only 10 charcters then substring will return ="
i am a " , please help me
2006-08-02
00:38:06
·
1 answers
·
asked by
googsoft
1
in
Computers & Internet
➔ Programming & Design