Recent Posts

Caution: Greetings to all visitors. The site is working in short. Links Please skip the link to view any topic and thank you for visiting
header ads

Trying to get PHP code to recognize musical notes

I am trying to use functions like substr_count and strpos to find the number and location of musical notes in text, specifically the musical note that looks like this ... ♪ ...which I believe is an eighth note. I can't get this to work consistently in my PHP code. For example:

In some of my PHP scripts, the following line will tell me how many musical notes are in $myText...
$j=substr_count($myText,'♪')
...yet in other of my PHP scripts, the same line does not work for me.

I...

Trying to get PHP code to recognize musical notes

from PHP https://ift.tt/2HN4A4g
via IFTTT

Post a Comment

0 Comments