2 lines
88 B
Text
2 lines
88 B
Text
str = "This is a string"
|
|
if str =~ ~r/string$/, do: IO.inspect "str ends with 'string'"
|