Is there any function i javascript that is equal to instr in vb. Is that the subString function?? This can not be used on a variant variable?? how do i declare and convert the variant to a string??

is it String() variablename = toString(variant variable) or ???

/Smirre