Data commit
This commit is contained in:
parent
7387c8f97b
commit
cb5bb5e222
199093 changed files with 3378972 additions and 0 deletions
|
|
@ -0,0 +1,8 @@
|
|||
1> Str = "Hello".
|
||||
"Hello"
|
||||
2> string:sub_string(Str, 2). % To strip the string from the right by 1
|
||||
"ello"
|
||||
3> string:sub_string(Str, 1, length(Str)-1). % To strip the string from the left by 1
|
||||
"Hell"
|
||||
4> string:sub_string(Str, 2, length(Str)-1). % To strip the string from both sides by 1
|
||||
"ell"
|
||||
Loading…
Add table
Add a link
Reference in a new issue