Bitbybit Docs
    Preparing search index...

    Class TextSubstringDto (Inputs.Text)

    Un texte et une plage de positions pour text.substring et text.slice.

    Index

    Constructors

    Properties

    Constructors

    • Parameters

      • Optionaltext: string
      • Optionalstart: number
      • Optionalend: number

      Returns TextSubstringDto

    Properties

    text: string

    Le texte dont prendre les caractères.

    hello world
    
    start: number

    Position du premier caractère à prendre, en comptant à partir de 0.

    0
    

    0

    Infinity

    1

    end?: number

    Position juste après le dernier caractère à prendre ; omettez-la pour tout prendre jusqu'à la fin.

    5
    

    0

    Infinity

    1