logo
  • 教程列表
  • SO官方文檔
  • 字串插值
    • 基本
    • 虛線表達
    • 渴望表達
    • 懶惰的表情
    • 表達
  1. StackOverflow 文件
  2. groovy 教程
  3. 字串插值
  4. 基本

基本

Created: November-22, 2018

def str = 'nice'
assert "Groovy is $str" == 'Groovy is nice'
  • 虛線表達
  • 字串插值

Copyright © 2018. All right reserved

tastones.com 备案号:鲁ICP备18045372号-1

  • 關於本站
  • 免責聲明