Basic difference between + and & in strings
var Msg=("Do you want to delete the rate: " & dt1 + "-" & dt2 +" = " & rate1.toString());
var Msg=("Do you want to delete the rate: " + dt1 + "-" + dt2 +" = " + rate1.toString());
Can any one tell me the differenc between. I thought there is no difference between + and &. When I type the first code, it doesnot work and when I type second code. It works can anyone let me know what is difference.
|