{{htmlmetatags>metatag-robots=()
metatag-title=(INST | ugBASIC User Manual)
metatag-keywords=(ugBASIC,Commodore 64,Commodore PLUS/4,ZX Spectrum)
metatag-description=(Manual page for INST)
metatag-media-og:image=(:ugbasic:logo-ugbasic-fb.png)
metatag-og:title=(INST | ugBASIC User Manual)
metatag-og:description=(Manual page for INST)
}}
====== ugBASIC User Manual ======
===== INST ✓ =====
===== SYNTAX =====
= INST( string, alt, pos )
==== PURPOSE ====
The ''INST'' function overwrites the characters of the string ''alt' with the character string
''string'' (first argument) in the character string ''alt'' (second argument) from the position
''pos'' (third argument), whereby the counting starts with 1. The length of the character
string ''altstring'' does not change.
==== EXAMPLE ====
c$=INST(a$,b$,9)
See also the following example files:
* ''[[https://github.com/spotlessmind1975/ugbasic/tree/main/examples/tsb_insert_01.bas|tsb_insert_01.bas]]''
==== ABBREVIATION ====
Inx
==== 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 [[https://github.com/spotlessmind1975/ugbasic/issues/new?title=ISSUE ON INST|open an issue]] for this keyword on GitHub. Thank you!===== POWERED BY =====
[[:ugbasic:user:index|{{ :ugbasic:user:logo-ugbasic.png?nolink&600 |}}]]