PC SOFT

ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Home | Sign in | English EN
WINDEV
WindowsLinuxUniversal Windows 10 AppJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadApple WatchUniversal Windows 10 AppWindows Mobile
Others
Stored procedures
Inserts a string into another character string at a given position.
Versions 20 and later
WINDEVJava This function is now available for Java applications.
New in version 20
WINDEVJava This function is now available for Java applications.
WINDEVJava This function is now available for Java applications.
Versions 21 and later
Universal Windows 10 App This function is now available in Universal Windows 10 App mode.
New in version 21
Universal Windows 10 App This function is now available in Universal Windows 10 App mode.
Universal Windows 10 App This function is now available in Universal Windows 10 App mode.
Example
// 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 (with quotes) 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
Component: wd260vm.dll
Minimum version required
  • Version 24
This page is also available for…
Comments
Click [Add] to post a comment