PC SOFT

WINDEVWEBDEV AND WINDEV MOBILE
ONLINE HELP

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 21 and later
WEBDEV - Server codePHP This function is now available for PHP sites.
New in version 21
WEBDEV - Server codePHP This function is now available for PHP sites.
WEBDEV - Server codePHP This function is now available for PHP sites.
Versions 25 and later
WEBDEV - Browser code This function is now available in browser code.
New in version 25
WEBDEV - Browser code This function is now available in browser code.
WEBDEV - Browser code This function is now available in browser code.
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.
Business / UI classification : Neutral code
Component : wd250vm.dll
Minimum version required
  • Version 18
This page is also available for…
Comments
Click [Add] to post a comment