View Full Version : set variable to first 5 characters of string
03-12-2006, 01: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
03-12-2006, 03: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.
s = left(Whatever string you have,5)
You can use this as a reference.
Powered by vBulletin® Version 4.2.2 Copyright © 2017 vBulletin Solutions, Inc. All rights reserved.