Code: [Select]var x = "$5.99 SOMETHING here";// How would I get the first 6 letters in 'x' ?Thanks for your time and assistance.substr() - http://www.w3schools.com/jsref/jsref_substr.aspslice() - http://www.w3schools.com/jsref/jsref_slice_string.aspI'd SAY substr() is what you WANT.
Your experience on this site will be improved by allowing cookies. Read Cookie Policy