Bash indexOf

(Bash indexOf()에서 넘어옴)

1 개요[ | ]

Bash indexOf
STR="Hello World!"
echo $STR | awk '{print index($0,"ll")}'
# 3
echo $STR | awk '{print index($0,"ld")}'
# 10
echo $STR | awk '{print index($0,"H")}'
# 1
echo $STR | awk '{print index($0,"z")}'
# 0

2 같이 보기[ | ]

3 참고[ | ]

문서 댓글 ({{ doc_comments.length }})
{{ comment.name }} {{ comment.created | snstime }}