PC SOFT

ONLINE HELP
FOR WINDEV, WEBDEV AND WINDEV MOBILE

Home | Sign in | English US
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 19 and later
Windows Mobile This function is now available for the Windows Mobile applications.
New in version 19
Windows Mobile This function is now available for the Windows Mobile applications.
Windows Mobile This function is now available for the Windows Mobile applications.
Versions 20 and later
WINDEVJava This function is now available for the Java applications.
Android This function is now available for the Android applications.
Android Widget This function is now available in Android Widget mode.
New in version 20
WINDEVJava This function is now available for the Java applications.
Android This function is now available for the Android applications.
Android Widget This function is now available in Android Widget mode.
WINDEVJava This function is now available for the Java applications.
Android This function is now available for the Android applications.
Android Widget This function is now available in Android Widget mode.
Versions 21 and later
Apple Watch This function is now available in Apple Watch mode.
WEBDEV - Server codePHP This function is now available for the PHP sites.
Universal Windows 10 App This function is now available in Universal Windows 10 App mode.
New in version 21
Apple Watch This function is now available in Apple Watch mode.
WEBDEV - Server codePHP This function is now available for the PHP sites.
Universal Windows 10 App This function is now available in Universal Windows 10 App mode.
Apple Watch This function is now available in Apple Watch mode.
WEBDEV - Server codePHP This function is now available for the PHP sites.
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 = StringInsert(sNotes, "Sol", 5)
// sFullNotes contains "SiLaSolFaMiReDo"
Syntax
<Result> = StringInsert(<Source String> , <String to Insert> , <Insertion Position>)
<Result>: Character string
Character string into which the string was inserted at the specified position.
<Source String>: Character string (with quotes) or buffer
Character string into which the insertion will be performed.
CAUTION: This string will not be modified by the insertion.
<String to Insert>: Character string (with quotes) or buffer
String that must be inserted into <Source String>.
<Insertion Position>: Integer
Position at which <String to Insert> will be added.
  • If the specified position is negative, the string will be added at the beginning of the source string.
  • If the specified position is greater than the size of the source string, the string will be added at the end of the source string.
Components
WINDEVWEBDEV - Server codeReports and Queries wd230vm.dll
Windows Mobile wp230vm.dll
Java wd230java.jar
Linux wd230vm.so
Android wd230android.jar
Minimum required version
  • Version 18
This page is also available for…
Comments
Click [Add] to post a comment