DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR RUST
rust concatenate strings
let
text1
=
"hello"
.
to_owned
(
)
;
let
text2
=
text1
+
" world"
;
println!
(
"{}"
,
text2
)
;
PREVIOUS
NEXT
Tagged:
#rust
#concatenate
#strings
ADD COMMENT
Topic
COMMENT
Name
1+8 =
Submit