HomeAboutMeBlogGuest
© 2025 Sejin Cha. All rights reserved.
Built with Next.js, deployed on Vercel
📌
hkob's Notion
/
ℹ️
逆引きFormula 2.0
/
📓
padStart
📓

padStart

Formula 2.0
Formula 2.0
関数形式の文法(演算子も含む)
padStart(orgStr, length, padString)
メソッド形式の文法
orgStr.padEnd(length, padString)
演算子形式の文法
入力の型
String
Number
formula解説
返り値の型
String
作成日時
Jul 16, 2024 09:03 PM
逆引き Formula 利用例
説明
Returns the text padded with the provided padding string at the start until the target length is reached.
注記 (変更点)

style なし

Name
func
method
arg1
arg2
arg3
-でパディング
ABC
10
-
複数文字でパディング
ABC
10
-.
空欄でパディング
ABC
10
empty の時はパディングしない
ABC
10

style あり

Name
func
method
arg1
arg2
arg3
style
-でパディング
ABC
10
-
red
複数文字でパディング
ABC
10
-.
green
空欄でパディング
ABC
10
u
empty の時はパディングしない
ABC
10
s