Skip to main content
Commonmark migration
Source Link

#Lua, 93 78 Bytes

Lua, 93 78 Bytes

a=io.read()m=a:sub(1,1):upper()print(({a:gsub("["..m..m:lower().."]","")})[1])

#Lua, 93 78 Bytes

a=io.read()m=a:sub(1,1):upper()print(({a:gsub("["..m..m:lower().."]","")})[1])

Lua, 93 78 Bytes

a=io.read()m=a:sub(1,1):upper()print(({a:gsub("["..m..m:lower().."]","")})[1])
added 43 characters in body
Source Link
Veer Singh
  • 241
  • 1
  • 5

#Lua, 5493 78 Bytes

a=io.read()m=a:lowersub(1,1):upper()print(({a:gsub(a"["..m..m:sublower(1,1).."]","")})[1])

#Lua, 54 Bytes

a=io.read():lower()print(({a:gsub(a:sub(1,1),"")})[1])

#Lua, 93 78 Bytes

a=io.read()m=a:sub(1,1):upper()print(({a:gsub("["..m..m:lower().."]","")})[1])
Source Link
Veer Singh
  • 241
  • 1
  • 5

#Lua, 54 Bytes

a=io.read():lower()print(({a:gsub(a:sub(1,1),"")})[1])