havey
03-12-2006, 12:14 AM
Hi, i have have a string that i would like to set var s to the first 5 characters of
How is this accomplished? Thanks
How is this accomplished? Thanks
|
||||
set variable to first 5 characters of stringhavey 03-12-2006, 12:14 AM Hi, i have have a string that i would like to set var s to the first 5 characters of How is this accomplished? Thanks StupidRalph 03-12-2006, 02:09 AM You could use the left(). I totally how to code in ASP since its been about 2 years w/PHP but something like this. <% dim s s = left(Whatever string you have,5) %> You can use this as a reference. http://www.w3schools.com/vbscript/func_left.asp |
| |||
EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum