Function sprintf

  • replace {0..9} by given arguments

    Example


    console.log( sprintf( 'here is arg 1 {1} and arg 0 {0}', 'argument 0', 'argument 1' ) )

    Parameters

    • format: string

      string

    • Rest ...args: any[]

    Returns string

Generated using TypeDoc