
December 21st, 2004, 07:21 AM
|
|
Contributing User
|
|
Join Date: Dec 2004
Posts: 109
Time spent in forums: 1 Day 1 h 37 m
Reputation Power: 4
|
|
|
Mid,Left
Quote: | Originally Posted by daveevans Hi, i am quite new to this programming stuff and have a simple request:
I return sentences, all different lengths from a database but would only like to return the first 15 characters from the sentence only. I have looked at len, right, left etc functions but am unsure what to do. I am using asp and vbscript.
Thanks in advance |
Hi,
Code:
Left(yourstring, 15)
Mid(yourstring, 1, 15)
above 2 ways u can return the 1st 15 letters.
hope this will help for u....
Regards,
Satish Kumar J...
|