"Go strings.Repeat()"의 두 판 사이의 차이

(새 문서: ==개요== ;Go strings.Repeat() <syntaxhighlight lang='go' run> package main import ( "fmt" "strings" ) func main() { fmt.Println(strings.Repeat("hello", 3)) // hellohellohello...)
 
16번째 줄: 16번째 줄:


==같이 보기==
==같이 보기==
* [[Go string.Replace()]]
* [[함수 str_repeat()]]
* [[함수 str_repeat()]]



2023년 1월 19일 (목) 18:16 판

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 }}