Note: This page includes content based on the F1 documentation for Centura development. It may be partially converted to support APF development, but should be regarded to be of uncertain actuality. It is provided as is. Eventually, it should be replaced by documentation available from within Visual Studio.
SalString PalStrInsSubStr( SalString lsOrg, SalString sInp, SalNumber nPos )
The PalStrInsSubStr method will insert a substr into another string at a given position.
Name | Description |
---|---|
SalString lsOrg | String that should be extended. |
SalString sInp | String to input into original string. |
SalNumber nPos | The position where to input the substring. |
Return value is the modified string.
sStr = '0123456789' PalStrInsSubStr( sStr, 4, '<Ins>' ) Returns '0123<Ins>456789'sStr = "0123456789";
sStr = Int.PalStrInsSubStr(sStr, "<Ins>", 4);
This will return "0123<Ins>456789"