10.6.25 InsertString
InsertString allows you to embed other strings within a target variable at a specified position identified by the At parameter.
Input Parameters
String - String to be inserted
At - Position to insert the string
Pad - Character used to pad the result if the At parameter is beyond the end of the string
Example
In this example, if string contained "abcdefg", the result would be "abcABCDefg":
#Com_owner.Caption := #String.InsertString( "ABCD" 4)
In this example, if string contained "abcdefg", the At parameter is beyond the end of the string, the result would be "abcdefg**ABCD".:
#Com_owner.Caption := #String.InsertString( "ABCD" 10 "*")
Ý 10.6 Alphanumeric/String Intrinsic Functions