티스토리 뷰

공부

[jinja2] {{ asdf|join(", ") }}

승가비 2023. 3. 14. 02:34
728x90

https://stackoverflow.com/questions/2061439/string-concatenation-in-jinja

 

String concatenation in Jinja

I just want to loop through an existing list and make a comma delimited string out of it. Something like this: my_string = 'stuff, stuff, stuff, stuff' I already know about loop.last, I just need to

stackoverflow.com

 

728x90

'공부' 카테고리의 다른 글

[sh] csv string count  (0) 2023.03.16
[sh] sudo systemctl list-units  (0) 2023.03.14
[airflow] variables `{{ var.value.aa }}`  (0) 2023.03.14
[spark] show(count, false); no_truncated=false  (0) 2023.03.14
[yarn] memory & core  (0) 2023.03.14
댓글