IT INFO

[dart] #10 #2.2 String Interpolation (04:30)

devlunch4 2023. 4. 29. 00:00
반응형
void main() {
    var name = 'lunch';
    var thisYear = 2023;
    var greeting = '''Hello, Everyone, 
    My name is $name, Nice to meet you.
    \'Next\' year is ${thisYear + 1}.''';
    print(greeting);
}
반응형