<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>php explode command &#8211; Programming blog &#8211; website programming blog, blog on website programming .net, java , php and mor</title>
	<atom:link href="https://www.searchenginegenie.com/programming-blog/tag/php-explode-command/feed/" rel="self" type="application/rss+xml" />
	<link>https://www.searchenginegenie.com/programming-blog</link>
	<description></description>
	<lastBuildDate>Tue, 11 Dec 2012 06:31:18 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=6.5.5</generator>
	<item>
		<title>Explode function in php</title>
		<link>https://www.searchenginegenie.com/programming-blog/explode-function-in-php/</link>
					<comments>https://www.searchenginegenie.com/programming-blog/explode-function-in-php/#respond</comments>
		
		<dc:creator><![CDATA[Camilla]]></dc:creator>
		<pubDate>Mon, 23 Aug 2010 09:46:00 +0000</pubDate>
				<category><![CDATA[PHP]]></category>
		<category><![CDATA[php explode command]]></category>
		<guid isPermaLink="false">http://www.searchenginegenie.com/programming-blog/?p=365</guid>

					<description><![CDATA[How to split a name using explode function? 1. Get the name in a variable 2. Specify the position from which you need to split the name. 3. If you need to split the name after an underscore, use &#8220;_&#8221;. 4. If you need to split the name after @, use &#8220;@&#8221;. [php] &#60;?php $name  [&#8230;]]]></description>
										<content:encoded><![CDATA[<p>How to split a name using explode function?<br />
1. Get the name in a variable<br />
2. Specify the position from which you need to split the name.<br />
3. If you need to split the name after an underscore, use &#8220;_&#8221;.<br />
4. If you need to split the name after @, use &#8220;@&#8221;.</p>
<p>[php]</p>
<p>&lt;?php</p>
<p>$name  = &quot;john_abraham@gmail.com&quot;;<br />
 $pieces = explode(&quot;_&quot;, $name);<br />
 echo &quot;firstname = $pieces[0]&quot;.&quot;&lt;br /&gt;&quot;;</p>
<p>$pieces = explode(&quot;@&quot;, $name);<br />
 echo &quot;username = $pieces[0]&quot;;</p>
<p>?&gt;</p>
<p>[/php]</p>
<p>Output will be displayed as:<br />
firstname = john<br />
username = john_abraham</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.searchenginegenie.com/programming-blog/explode-function-in-php/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
	</channel>
</rss>

<!--
Performance optimized by W3 Total Cache. Learn more: https://www.boldgrid.com/w3-total-cache/

Page Caching using Disk: Enhanced 
Minified using Disk

Served from: www.searchenginegenie.com @ 2024-07-02 18:39:56 by W3 Total Cache
-->