Avatar of burnedfaceless
burnedfaceless

asked on 

Remove characters from a string

I'm writing my first object oriented script that spells triads and chords derived from the major, harmonic minor or jazz minor.

I need to remove the characters  ♭ ♯ 𝄪  𝄫 from a note.

So I need to remove the ♯ from D♯ and return a D.

What is the best way to do this?
PHP

Avatar of undefined
Last Comment
burnedfaceless

8/22/2022 - Mon