Try StringReplace(s,'something','somethingElse',[rfReplaceAll]);
The last parameter is a set... I guess :-) Horacio ----- Original Message ----- From: "Alvise Nicoletti" <[EMAIL PROTECTED]> To: <lazarus@miraclec.com> Sent: Wednesday, May 23, 2007 12:35 PM Subject: [lazarus] StringReplace -> TReplaceFlags > Sorry but I really don't understand this....: > StringReplace(s,'something','somethingElse',rfReplaceAll); > > servizio_server.pas(65,39) Error: Incompatible type for arg no. 4: Got > "<enumeration type>", expected "TReplaceFlags" > > What's that??? > > Shouldn't that work? > > _________________________________________________________________ > To unsubscribe: mail [EMAIL PROTECTED] with > "unsubscribe" as the Subject > archives at http://www.lazarus.freepascal.org/mailarchives > > __________ InformaciĆ³n de NOD32, revisiĆ³n 2286 (20070523) __________ > > Este mensaje ha sido analizado con NOD32 antivirus system > http://www.nod32.com > > _________________________________________________________________ To unsubscribe: mail [EMAIL PROTECTED] with "unsubscribe" as the Subject archives at http://www.lazarus.freepascal.org/mailarchives