Letter count

Results 1 to 2 of 2

Thread: Letter count

  1. #1
    Aya Guest

    Default Letter count

    hi all,<BR>I tried to display some message on the mainpage of my site. but instead of display all the whole message,<BR>so i used left(stringname, 20) [thanx Vipul]<BR>then follow by "..."<BR>my question is, how can i count the letters in my message and if it&#039;s less than 20 letter do not write "..."?<BR><BR>thanx in advance.<BR>Aya

  2. #2
    Join Date
    Dec 1969

    Default RE: Letter count

    use len(string) to count . then use if then condtion to do rest

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts