Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Mid() in Jscript??

Status
Not open for further replies.

jstar7

Programmer
Dec 17, 2002
61
GB
Hey there,

I have a bit of code in vbscript, I need to convert it to jscript. There is a bit in it that uses the Mid() function and I was wondering if anyone knew a way of doing this in jscript??

Cheers,
Jstar7

-------------------------------------
...what rhymes with month?
 
substring function.

try this:
strng="ASD"
alert(strng.substring(0,1))

Known is handfull, Unknown is worldfull
 
cheers mate!! thats what I was looking for!

-------------------------------------
...what rhymes with month?
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top