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

(새 문서: ==개요== ;Go strings.Repeat() <syntaxhighlight lang='go' run> package main import ( "fmt" "strings" ) func main() { fmt.Println(strings.Repeat("hello", 3)) // hellohellohello...)
 
 
(같은 사용자의 중간 판 2개는 보이지 않습니다)
16번째 줄: 16번째 줄:


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


22번째 줄: 23번째 줄:


[[분류: Go 문자열]]
[[분류: Go 문자열]]
[[분류: Go 패키지 strings]]
[[분류: Go strings 패키지]]

2023년 4월 25일 (화) 18:11 기준 최신판

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