Please enable JavaScript to view this site.

 

str = StrInsert(sString,sSubString,nPos)

 

This macro function returns the string sString with the sub-string sSubString inserted before the position nPos.

 

The function StrInsert will generate an error message, if nPos is greater than the length of sString.

sResult = StrInsert('QuarkXPress 8''201'13// QuarkXPress 2018
sResult = StrInsert('Quark''2018'13// error
sResult = StrInsert('XPress''Quark'1// QuarkXPress

See also: StrCopy.

 


Topic 178855, last updated on 18-Apr-2020