Table of Contents

ugBASIC User Manual

INSERT ✓

SYNTAX

   = INSERT(<string>,<altstring>,<pos>)

PURPOSE

INSERT inserts the character string <string> (first argument) into the character string <altstring> (second argument) starting at the position <pos> (third argument), whereby the counting starts with 1. The resulting character string is as long as the sum of the two individual character strings.

EXAMPLE

  c$=INSERT(a$,b$,9)

See also the following example files:

ABBREVIATION

 Ins

AVAILABLE ON

ANY PROBLEM?

If you have encountered a problem using this command, if you think there is a bug or the explanation is unclear, please open an issue for this keyword on GitHub. Thank you!

POWERED BY