LoginSignup
0
0

More than 3 years have passed since last update.

変数展開

Posted at

変数展開とは

変数の値を文字列の中に含める方法

"#{変数}"

注意

シングルクオーテーションはそのまま文字列として出力される

変数の良いところ

・同じ要素を繰り返し使える
・変更に対応しやすい
・なんの要素かわかりやすい

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0