Jump to Content
nativescript-stringformatDiscussions
API ReferenceDiscussions
v2.3.3

Discussionsnativescript-stringformat
API Reference
v2.3.3API ReferenceDiscussions

Documentation

  • Getting Started
  • Format providers

Functions

  • addFormatProvider
  • compare
  • concat
  • format
  • formatArray
  • isEmpty
  • isEmptyOrWhitespace
  • isNullOrEmpty
  • isNullOrUndefined
  • isNullOrWhitespace
  • isWhitespace
  • join
  • similarity

StringBuilder

  • append
  • appendFormat
  • appendFormatArray
  • appendLine
  • clear
  • equals
  • exec
  • insert
  • insertFormat
  • insertFormatArray
  • length
  • newLine
  • prepend
  • prependFormat
  • prependFormatArray
  • prependLine
  • remove
  • replace
  • test
  • toCharArray
  • toString
Powered by 

insert

Inserts a string.

import {StringBuilder} from "nativescript-stringformat";

// "Marcel Joachim Kloubert"
new StringBuilder("Marcel Kloubert")
    .insert(7, "Joachim ");