Skip to content

Commit

Permalink
Update 02_Zsh-开发指南(第二篇-字符串处理之常用操作).md
Browse files Browse the repository at this point in the history
  • Loading branch information
goreliu committed Apr 30, 2019
1 parent ba17cf1 commit 3bd11d6
Showing 1 changed file with 7 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -304,6 +304,13 @@ cc
2
% echo $str_array[3]
4
# 保留其中的空字符串
% str_array=("${(@s/:/)str}")
% echo $str_array[3]
% echo $str_array[4]
4
```

### 多行字符串
Expand Down

0 comments on commit 3bd11d6

Please sign in to comment.