Skip to content

Commit f9b8850

Browse files
authored
Merge pull request #70 from liuyunbin/fix-bug
子字符串中的美元符号不能去掉
2 parents 781b406 + 2d82e61 commit f9b8850

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/string.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ foot
4545

4646
上面例子返回字符串`frogfootman`从4号位置开始的长度为4的子字符串`foot`
4747

48-
这种语法不能直接操作字符串,只能通过变量来读取字符串,并且不会改变原始字符串。变量前面的美元符号可以省略。
48+
这种语法不能直接操作字符串,只能通过变量来读取字符串,并且不会改变原始字符串。
4949

5050
```bash
5151
# 报错

0 commit comments

Comments
 (0)