Julia Programming Language
How to print string with assigned variable and an "!" character?
New to Julia
strings
jishnub
July 18, 2020, 4:32am
2
julia> x = 3; print(String("Hello, $(x)!")) Hello, 3!
4 Likes
show post in topic
Related topics
Topic
Replies
Views
Activity
Question mark in variable names
Internals & Design
question
33
6102
September 29, 2017
What do ! mean for functions
New to Julia
1
363
July 31, 2020
What are uses/significance of "@" and "!" in Julia
New to Julia
question
,
macros
2
454
March 7, 2022
Disambiguating variable names in string interpolation
New to Julia
3
201
May 17, 2023
Why the variable is not modified inside a function with suffix "!"
New to Julia
question
9
936
June 8, 2021