Quoting Variables

Jmnote bot (토론 | 기여)님의 2020년 11월 2일 (월) 02:35 판 (봇: 자동으로 텍스트 교체 (-source +syntaxhighlight))
(차이) ← 이전 판 | 최신판 (차이) | 다음 판 → (차이)
Quoting Variables

1 Bash[ | ]

a=Alice
b=Bob
echo "$a and $b"
# Alice and Bob

2 PHP[ | ]

$a = 'Alice';
$b = 'Bob';
echo "$a and $b";
# Alice and Bob

3 Ruby[ | ]

a = "Alice"
b = "Bob"
puts "#{a} and #{b}"
# Alice and Bob

4 같이 보기[ | ]

5 참고[ | ]

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