Bitbybit Docs
    Preparing search index...

    Class TextSubstringDto (Inputs.Text)

    Um texto e um intervalo de posições para text.substring e text.slice.

    Index

    Constructors

    Properties

    Constructors

    • Parameters

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

      Returns TextSubstringDto

    Properties

    text: string

    O texto de onde tirar caracteres.

    hello world
    
    start: number

    Posição do primeiro carácter a tomar, a contar de 0.

    0
    

    0

    Infinity

    1

    end?: number

    Posição logo a seguir ao último carácter a tomar; omita para tomar tudo até ao fim.

    5
    

    0

    Infinity

    1