RETURNS A STRING MADE WITH S2 INSERTED INTO S1 IN POSITION P
ACTION
The function INSERT$(S1,S2,P) returns a string made with the string S2 inserted into the string S1 in position P.
P must be greater than or equal to 1.
SYNTAX:
Result$=INSERT$(S1,S2,P)
USE ERROR EXAMPLE
dim a$,b$
a$="hellofriends"
b$=" good "
print insert$(a$,b$,6)
print "hello good friends"
INSERT$()
INSERT$(S1,S2,P)
SEE ALSO
INSTR()
LEFT$()
LEN()
LOWER$()
LTRIM$()
MID$()
RIGHT$()
RTRIM$()
STR$()
STRING$()
TRIM$()
UPPER$()