<?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>substr_count &#8211; トモデジ  tomodigi.com</title>
	<atom:link href="https://tomodigi.com/tag/substr_count/feed/" rel="self" type="application/rss+xml" />
	<link>https://tomodigi.com</link>
	<description>デジタルもアナログも</description>
	<lastBuildDate>Fri, 23 Sep 2011 07:30:25 +0000</lastBuildDate>
	<language>ja</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=6.8.3</generator>
	<item>
		<title>文字列中に指定した文字が何回出現するか (PHP)</title>
		<link>https://tomodigi.com/web/%e6%96%87%e5%ad%97%e5%88%97%e4%b8%ad%e3%81%ab%e6%8c%87%e5%ae%9a%e3%81%97%e3%81%9f%e6%96%87%e5%ad%97%e3%81%8c%e4%bd%95%e5%9b%9e%e5%87%ba%e7%8f%be%e3%81%99%e3%82%8b%e3%81%8b/</link>
					<comments>https://tomodigi.com/web/%e6%96%87%e5%ad%97%e5%88%97%e4%b8%ad%e3%81%ab%e6%8c%87%e5%ae%9a%e3%81%97%e3%81%9f%e6%96%87%e5%ad%97%e3%81%8c%e4%bd%95%e5%9b%9e%e5%87%ba%e7%8f%be%e3%81%99%e3%82%8b%e3%81%8b/#respond</comments>
		
		<dc:creator><![CDATA[Tomo]]></dc:creator>
		<pubDate>Thu, 18 Jun 2009 14:51:14 +0000</pubDate>
				<category><![CDATA[PHP]]></category>
		<category><![CDATA[WEB]]></category>
		<category><![CDATA[substr_count]]></category>
		<guid isPermaLink="false">http://www.tomodigi.com/?p=37</guid>

					<description><![CDATA[文字列中に指定した文字が何回出現するかを確認するためにはsubstr_countを使います。 substr_count('123/13/222/3', '/'); 結果は4となります。区切り文字等を数えて、項目数を数えた &#8230; <a href="https://tomodigi.com/web/%e6%96%87%e5%ad%97%e5%88%97%e4%b8%ad%e3%81%ab%e6%8c%87%e5%ae%9a%e3%81%97%e3%81%9f%e6%96%87%e5%ad%97%e3%81%8c%e4%bd%95%e5%9b%9e%e5%87%ba%e7%8f%be%e3%81%99%e3%82%8b%e3%81%8b/" class="more-link">続きを読む <span class="screen-reader-text">文字列中に指定した文字が何回出現するか (PHP)</span> <span class="meta-nav">&#8594;</span></a>]]></description>
										<content:encoded><![CDATA[<p>文字列中に指定した文字が何回出現するかを確認するためにはsubstr_countを使います。</p>
<pre>
substr_count('123/13/222/3', '/');
</pre>
<p>結果は4となります。区切り文字等を数えて、項目数を数えたりできます。もちろん、検索する文字は2文字以上でも可能です。ただし、重なる場合は1つとカウントされます。</p>
<pre>
substr_count('abcabcabc', 'abcabc');
</pre>
<p>この場合の結果は1です。</p>
]]></content:encoded>
					
					<wfw:commentRss>https://tomodigi.com/web/%e6%96%87%e5%ad%97%e5%88%97%e4%b8%ad%e3%81%ab%e6%8c%87%e5%ae%9a%e3%81%97%e3%81%9f%e6%96%87%e5%ad%97%e3%81%8c%e4%bd%95%e5%9b%9e%e5%87%ba%e7%8f%be%e3%81%99%e3%82%8b%e3%81%8b/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
	</channel>
</rss>
