Insert$
result$ = Insert$(SourceString$, InsertString$, Position)
 
Parameters:

    SourceString$ = The string you wish to insert a new string into
    InsertString$ = The string you wish to insert
    Position = The character position of the insertion
Returns:

    result$= The new string
 

      The Insert$ function will insert a string of characters into another.



FACTS:


      * none



Mini Tutorial:


  
  
; Insert the characters "<->" into the string "PlayBasic"
  
  Print Insert$("PlayBasic","<->",4)
  
  
; Display the Screen and wait for the user to press a key
  Sync
  WaitKey
  


This example would output.

  
  Play<->Basic
  

 
Related Info: Pad$ | Replace$ :
 


(c) Copyright 2002 - 2024 - Kevin Picone - PlayBASIC.com