DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR RUST
rust repeat character x times
let formatted_title = format!("{:-^1$}", title, n);
Source by users.rust-lang.org #
PREVIOUS
NEXT
Tagged:
#rust
#repeat
#character
#times
ADD COMMENT
Topic
COMMENT
Name
1+3 =
Submit