Posted on 2003-12-12
MyArray = new Option('Citta Sant'Angelo area');
However this causes errors as the array gets confused with the apostrophe in the string and thinks that it represents the end of the string.
In VB you can do a Replace(MyString, " ' ", " ' ' ") to fix this sort of problem on sql inserts etc...
Many thanks in advance