Bitbybit Docs
    Preparing search index...

    Class TextSubstringDto (Inputs.Text)

    A text and a range of positions for text.substring and text.slice.

    Index

    Constructors

    Properties

    Constructors

    • Parameters

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

      Returns TextSubstringDto

    Properties

    text: string

    The text to take characters from.

    hello world
    
    start: number

    Position of the first character to take, counting from 0.

    0
    

    0

    Infinity

    1

    end?: number

    Position just after the last character to take; leave it out to take everything to the end.

    5
    

    0

    Infinity

    1