ASP Trim Text String
ASP Trim Text String
Out of context: Reply #7
- Started
- Last post
- 9 Responses
- mitsu0
piece of cake:
Response.Write(left(mystring, instr(100,mystring, ".")))
only problem is that you don't know when the first occurance of a period will be after the 100th character, so i'd recommend getting the lenth of the string and if it's over 100, just add "..."