Go strings.Repeat()

Jmnote (토론 | 기여)님의 2023년 1월 19일 (목) 18:13 판 (새 문서: ==개요== ;Go strings.Repeat() <syntaxhighlight lang='go' run> package main import ( "fmt" "strings" ) func main() { fmt.Println(strings.Repeat("hello", 3)) // hellohellohello...)
(차이) ← 이전 판 | 최신판 (차이) | 다음 판 → (차이)

1 개요

Go strings.Repeat()
package main

import (
	"fmt"
	"strings"
)

func main() {
	fmt.Println(strings.Repeat("hello", 3)) // hellohellohello
}

2 같이 보기

3 참고

문서 댓글 ({{ doc_comments.length }})
{{ comment.name }} {{ comment.created | snstime }}