H hug Unregistered / Unconfirmed GUEST, unregistred user! 2005-01-28 #1 如下: var s:string; begin s:='Tom'wife is prittey' end; 应给怎么实现? 谢谢大家;
H hug Unregistered / Unconfirmed GUEST, unregistred user! 2005-01-28 #2 如下: var s:string; begin s:='Tom'wife is prittey' end; 应给怎么实现? 谢谢大家;
揽 揽月 Unregistered / Unconfirmed GUEST, unregistred user! 2005-01-28 #3 加个单引号就ok了: var s:string; begin s:='Tom''wife is prittey' end;
W wufongming Unregistered / Unconfirmed GUEST, unregistred user! 2005-01-28 #4 var s:string; begin s:='Tom'+#39+'wife is prittey' end;
M missinwind Unregistered / Unconfirmed GUEST, unregistred user! 2005-01-28 #5 楼上说的没错,也可这样: s:='Tom'+''''+'wife is prittey';