Please enable JavaScript to view this site.

 

str = StrSetNthChar(sString,nNth,sChar)

 

This macro function returns the string sString after replacing its nNth character with sChar.

 

The function StrGetNthChar will generate an error message, if nNth is greater than the length of sString, and will generate another error message if the length of sChar is different from 1.

 

See also: StrGetNthChar and StrInsert.

 


Topic 178840, last updated on 18-Apr-2020