# Use defaults:
transl33t(txt = "hello world")
transl33t(txt = c(letters))
transl33t(txt = c(LETTERS))
# Specify rules:
transl33t(txt = "hello world",
rules = c("e" = "3", "l" = "1", "o" = "0"))
# Set input and output case:
transl33t(txt = "hello world", in_case = "up",
rules = c("e" = "3", "l" = "1", "o" = "0")) # e only capitalized
transl33t(txt = "hEllo world", in_case = "lo", out_case = "up",
rules = c("e" = "3", "l" = "1", "o" = "0")) # e transl33ted
Run the code above in your browser using DataLab