Originally Posted By: Hari_Kata

Found that when the script is unable to get the string which is in between ". It is just omitting the part in between or giving some other.


Hari,

Have another look at the code that I provided..

 Code:
     If InStr(Message, Chr(10)) Then
         Message = Chr(34) & Message & Chr(34)
     Else
         Message = Message
     End If
     DataList("Message") = Message
     DataList.Update


It should be something like..
 Code:
     If InStr(Message, Chr(34)) Then
         Message = REPLACE(Message,""","")
     Else
         Message = Message
     End If
     DataList("Message") = Message
     DataList.Update



HTH,

Kent
_________________________
Utilize these resources:
UDFs (Full List)
KiXtart FAQ & How to's