I need to display 20 characters for everyline from a longstring...?

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Maheswar Reddy
    New Member
    • Oct 2009
    • 1

    I need to display 20 characters for everyline from a longstring...?

    Hi I have a string(coming from Mysql) and i want todisplay the string
    below the Image but string is tooo long, so need a break after 20
    characters,any one help me.
  • Dormilich
    Recognized Expert Expert
    • Aug 2008
    • 8694

    #2
    you mean displaying only 20 characters (substr()) or adding line breaks (wordwrap())?

    Comment

    Working...