Another update from ingydotnet^djgoku
This commit is contained in:
parent
91df62d461
commit
948b86eafa
7604 changed files with 108452 additions and 22726 deletions
|
|
@ -0,0 +1,8 @@
|
|||
iex(1)> str = "abcdefg"
|
||||
"abcdefg"
|
||||
iex(2)> String.slice(str, 1..-1)
|
||||
"bcdefg"
|
||||
iex(3)> String.slice(str, 0..-2)
|
||||
"abcdef"
|
||||
iex(4)> String.slice(str, 1..-2)
|
||||
"bcdef"
|
||||
Loading…
Add table
Add a link
Reference in a new issue