Logo Formulierenserver Logo Formulierenserver
  • Releases
  • Handleiding
  • Modules
  • Smartforms
  • Seneca XForms Engine
Formulierenserver Documentatie > Smartforms > Functielijst > Tekstfuncties > repeat(value, count)

repeat(value, count)

Herhaalt een teken of tekstfragment.

Functie

Argument Types Omschrijving
value string Te herhalen teken of tekstfragment.
count integer Het aantal keer herhalen.
Result string Herhaling van het teken of tekstfragment.

Voorbeelden

repeat("", 0) = ""
repeat("", 5) = ""
repeat("-", 0) = ""
repeat("-", 5) = "-----"
repeat(nil, 1) = nil
repeat("-", nil) = nil
repeat("-", "") = nil

Smartforms
  • Concepten
  • Functielijst
    • Numerieke functies
    • Tekstfuncties
      • compare
      • concat(value, value...) returns string
      • contains
      • endswith
      • equals
      • htmldecode(value) returns string
      • htmlencode
      • indexof
      • indexofany
      • insert(left, index, right) returns string
      • isempty(value) returns boolean
      • iswhitespace(value) returns boolean
      • lastindexof
      • lastindexofany
      • length(value) returns integer
      • padleft
      • padright
      • remove
      • repeat(value, count)
      • replace
      • startswith
      • string
      • substring
      • tolower(value) returns string
      • toupper(value) returns string
      • trim(value) returns string
      • trimend(value) returns string
      • trimstart(value) returns string
    • Datum-tijd functies
    • Selectiefuncties
    • Waardefuncties
    • Parameterfuncties
    • Formulierargument functies
    • Lijstfuncties
    • Alle functies
  • Expressies

Wat is Formulierenserver? www.formulierenserver.nl