<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[Perché non funziona str_replace?]]></title><description><![CDATA[<blockquote>
<p dir="auto"><strong>Apthu</strong></p>
<p dir="auto">Da ciò che ho trovato:</p>
<p dir="auto"><strong>g</strong> = è un modificatore che fa sì che il matching sia globale: esso non si ferma cioè alla prima occorrenza del pattern ma continua fino a fine stringa</p>
</blockquote>
<p dir="auto">Parli di preg_replace(), str_replace() non consente l'uso dei regexp.</p>
]]></description><link>https://dev.connect.gt/topic/181145/perché-non-funziona-str_replace</link><generator>RSS for Node</generator><lastBuildDate>Sat, 28 Nov 2026 06:24:11 GMT</lastBuildDate><atom:link href="https://dev.connect.gt/topic/181145.rss" rel="self" type="application/rss+xml"/><pubDate>Sun, 02 Dec 2012 01:40:44 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Perché non funziona str_replace? on Sat, 01 Dec 2012 15:02:42 GMT]]></title><description><![CDATA[<p dir="auto">Carattere g? Cosa intendi?</p>
]]></description><link>https://dev.connect.gt/post/1099252</link><guid isPermaLink="true">https://dev.connect.gt/post/1099252</guid><dc:creator><![CDATA[thedarkita]]></dc:creator><pubDate>Sat, 01 Dec 2012 15:02:42 GMT</pubDate></item><item><title><![CDATA[Reply to Perché non funziona str_replace? on Sat, 01 Dec 2012 14:46:29 GMT]]></title><description><![CDATA[<p dir="auto">Ciao Apthu,<br />
il codice è corretto, il mancato funzionamento potrebbe essere dovuto allo \r che viene inserito in ambienti windows, dovrebbe essere risolvibile cosi:</p>
<pre><code class="language-php">str_replace(array("\n", "\r"),"", $messaggioS)
</code></pre>
]]></description><link>https://dev.connect.gt/post/1099246</link><guid isPermaLink="true">https://dev.connect.gt/post/1099246</guid><dc:creator><![CDATA[thedarkita]]></dc:creator><pubDate>Sat, 01 Dec 2012 14:46:29 GMT</pubDate></item></channel></rss>