ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

This content has been translated automatically.  Click here  to view the French version.
Help / WLanguage / WLanguage functions / Standard functions / String functions
  • Reverse and UNICODE
WINDEV
WindowsLinuxJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadIOS WidgetApple WatchMac Catalyst
Others
Stored procedures
Returns the character that corresponds to the difference between the ASCII code of a specific character in a string and 255. The string is encrypted.
For a Unicode string (or in WINDEV Mobile), the difference is calculated in relation to 65535.
Example
SAI_Saisie2 = Reverse(SAI_Saisie1)
// Si le champ SAI_Saisie1 contient TEST, le champ SAI_Saisie2 contiendra "º¬"
Syntax
<Result> = Reverse(<Initial string>)
<Result>: Character string
Contains the Reverse string.
<Initial string>: Character string
Character string to encrypt. This string is not modified.
WEBDEV - Server code This string can be a Unicode string.
Linux Unicode strings are not supported.
Remarks

Reverse and UNICODE

If the string passed as a parameter is an ANSI string, the result will be an ANSI string.
If the string passed in parameter is in Unicode format, the result will be in Unicode format.
Note If the result of the Reverse function used on an ANSI string is assigned to a Unicode string (and vice versa), ANSI/Unicode conversion will be implicitly performed.
For more details, see Unicode management.
Component: wd300vm.dll
Minimum version required
  • Version 9
This page is also available for…
Comments
Click [Add] to post a comment

Last update: 03/27/2025

Send a report | Local help