Skip to content

Commit 619be8f

Browse files
authored
Update 775-string-chop.markdown
1 parent 1af8920 commit 619be8f

File tree

1 file changed

+5
-6
lines changed

1 file changed

+5
-6
lines changed
Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,12 @@
11
# CHOP
22

3-
> CHOP (source)
3+
> s = CHOP (source)
44
5-
Chops off the last character of the string 'source' and returns the result.
5+
Chops off the last character of the string `source`.
6+
7+
### Example
68

79
```
810
s = "Test"
9-
print chop(s)
10-
11-
' Output: Tes
11+
print chop(s) ' Output: Tes
1212
```
13-

0 commit comments

Comments
 (0)