ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Your version: XXA250083N

Help / WLanguage / WLanguage functions / Standard functions / Functions for managing strings
  • NoCharacter and UNICODE
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
Returns a character string without the specified characters:
  • found on the left and on the right of the initial string.
  • WINDEVWEBDEV - Server codeUniversal Windows 10 AppWindows Mobile found inside the initial string.
New in version 25
WEBDEV - Browser code This function is now available in browser code.
Example
MyString is string
MyString = NoCharacter("<Text>", "<>")
// MyString contains "Text"
NoCharacter("Abracadabra", "a", sscInside)   // Returns "Abrcdbra"
NoCharacter("Abracadabra", "a", sscAll)   // Returns "brcdbr"
Syntax
<Result> = NoCharacter(<Initial string> , <Characters to delete> [, <Position>])
<Result>: Character string
Character string without the specified characters found on the left and on the right of the initial string.
<Initial string>: Character string (with quotes)
Initial character string.
<Characters to delete>: Character string (with quotes)
List of characters that must be deleted from the initial string.
If this parameter corresponds to an empty string (""), <Result> will correspond to the initial string.
<Position>: Optional Integer constant
Position of the characters to delete. This position can correspond to one of the following constants:
sscRightDeletes the specified characters found on the right of the initial string.
sscLeftDeletes the specified characters found on the left of the initial string.
sscOutside
(Default value)
Deletes the specified characters found outside the initial string.
Equivalent to sscRight + sscLeft.
sscInsideDeletes the specified characters found inside the initial string.
sscAllDeletes the specified characters found in the initial string.
Equivalent to sscRight + sscLeft + sscInside.
AndroidAndroid Widget Universal Windows 10 AppJavaPHP This parameter is not available.
Remarks

NoCharacter and UNICODE

If the string passed in parameter is in ANSI format, the result will be in ANSI format.
If the string passed in parameter is in UNICODE format, the result will be in UNICODE format.
Remark: If the result on an ANSI string is assigned to a UNICODE string (and conversely), the conversion will be implicitly performed.
See Managing the UNICODE format for more details.
Business / UI classification : Neutral code
Component : wd250vm.dll
Minimum version required
  • Version 16
This page is also available for…
Comments
Click [Add] to post a comment

Last update: 04/29/2020

Send a report | Local help