Skip to main content
5 of 8
deleted 30 characters in body
Adnan
  • 44.5k
  • 6
  • 82
  • 246

#05AB1E, 7 6 4 bytes

Code:

lIl-

Explanation:

l     # Convert the first character to lower case
 I    # Get the second line of input
  l   # Convert the second line of input to lower case
   -  # Loop over the second line of text and substract each char from the first input
        For example: "abcde""ba"- would result in "cde"

Try it online!

Truthy is when the current letter is outputted. Falsy is when nothing is outputted.

Adnan
  • 44.5k
  • 6
  • 82
  • 246