• Projects
  • Skillset
  • Resources
  • Posts
  • About
  • Projects
  • Skillset
  • Resources
  • Posts
  • About

padEnd

  • Notion Formulas
  • Introduction
  • The Editor
  • Data
    • Data Types
      • String
      • Number
      • Boolean
      • Date
      • List
      • Person
      • Page
    • Properties
      • Title
      • Text
      • Number
      • Select
      • Multi-select
      • Status
      • Date
      • Person
      • Files & Media
      • Checkbox
      • URL
      • Email
      • Phone
      • Formula
      • Relation
      • Rollup
      • Created Time
      • Created By
      • Last Edited Time
      • Last Edited By
      • ID
  • Elements
    • Functions
      • if
      • ifs
      • and
      • or
      • not
      • empty
      • length
      • substring
      • contains
      • test
      • match
      • replace
      • replaceAll
      • lower
      • upper
      • repeat
      • padStart
      • padEnd
      • link
      • style
      • unstyle
      • format
      • add
      • subtract
      • multiply
      • mod
      • pow
      • divide
      • min
      • max
      • sum
      • median
      • mean
      • abs
      • round
      • ceil
      • floor
      • sqrt
      • cbrt
      • exp
      • ln
      • log10
      • log2
      • sign
      • pi
      • e
      • toNumber
      • now
      • today
      • minute
      • hour
      • day
      • date
      • week
      • month
      • year
      • dateAdd
      • dateSubtract
      • dateBetween
      • dateRange
      • dateStart
      • dateEnd
      • timestamp
      • fromTimestamp
      • formatDate
      • parseDate
      • name
      • email
      • at
      • first
      • last
      • slice
      • concat
      • sort
      • reverse
      • join
      • split
      • unique
      • includes
      • find
      • findIndex
      • filter
      • some
      • every
      • map
      • flat
      • id
      • equal
      • unequal
      • let
      • lets
    • Operators
      • +
      • -
      • *
      • %
      • ^
      • /
      • ==
      • !=
      • >
      • >=
      • <
      • <=
      • && · and
      • || · or
      • ! · not
      • ? :
    • Booleans
      • true
      • false
    • Variables
      • current
      • index
  • More
    • Examples
      • Outline Numbering
    • Automations
    • Errors
Functions
/
padEnd
Returns the text padded with the provided padding string at the end until the target length is reached.
Accepts
All Data Types
Returns
String
Syntax
padEnd(text, targetLength, padString) text.padEnd(targetLength, padString)

padEnd("A", 3, ".")
=
A... "A..."

Additional Links

  • padEnd Companion Page notion.cool
Functions
←
padStart
→
Functions
link
© Ben Smith
  • Email
  • Bluesky
Mastodon