|
|
|
|
<String type>.Insert (Function) In french: <Type Chaîne>.Insère Inserts a string into another character string at a given position. // Add Sol to SiLaFaMiReDo sNotes is string = "SiLaFaMiReDo" sFullNotes is string = sNotes.Insert("Sol", 5) // sFullNotes contains "SiLaSolFaMiReDo"
Syntax
<Result> = <Initial string>.Insert(<String to insert> , <Insertion position>)
<Result>: Character string Character string into which the string was inserted at the specified position. <Initial string>: Character string Character string into which another string will be inserted. CAUTION: This string will not be modified. <String to insert>: Character string or Buffer String to be inserted into <Initial string>. <Insertion position>: Integer Position at which <String to insert> will be added.- If the specified position is negative, the string will be inserted at the beginning of the initial string.
- If the specified position is greater than the length of the initial string, the string will be inserted at the end of the initial string.
Business / UI classification: Neutral code
This page is also available for…
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|