16 Sep 2021   ruby


Ruby String class has a start_with? method:

"#️⃣".start_with? "#"
=> true