Kor
11-05-2004, 12:08 PM
I would like to compare two strings, and if the first one, say x, is included and is at the begining of the second string, say y, than doSomething()
var x= 'abc'
var y='abcdef'
if ( y==x+'someotherstring'){doSomething()}
any ideeas?
var x= 'abc'
var y='abcdef'
if ( y==x+'someotherstring'){doSomething()}
any ideeas?