ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Help / WLanguage / WLanguage functions / Standard functions / String functions
WINDEV
WindowsLinuxJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadIOS WidgetApple WatchMac Catalyst
Others
Stored procedures
The following functions are used to handle strings, using prefix syntax:
<ANSI string>.AnsiToOemConverts an ANSI string (Windows) to an OEM string (DOS).
<ANSI string>.AnsiToUnicodeConverts a string in ANSI (Windows) format into a string in Unicode format.
<ANSI string>.BufferToHexaConverts an Ansi or Unicode string into a displayable hexadecimal string (e.g. "4A 5B 00").
<ANSI string>.CharactTypeCountReturns the number of characters matching a given type.
<ANSI string>.CompleteReturns a character string of a specified length.
<ANSI string>.ContainsAllows you to check if a substring is within a string.
<ANSI string>.DeleteDuplicateRemoves duplicates among substrings of a string, based on one or more separators.
<ANSI string>.EndsWithChecks whether a character string ends with:
  • with a specific character string.
  • with one of the character strings in an array.
<ANSI string>.ExtractStringAllows you to:
  • extract a substring from a string based on a specified string separator.
  • search for substrings in a string based on a specified string separator.
<ANSI string>.FormatFormats a character string according to the selected options.
<ANSI string>.IncrementIncrements a number at the beginning or at the end of a string.
<ANSI string>.InsertInserts a string into another character string at a given position.
<ANSI string>.RegexMatchChecks whether a string matches the format defined by a regular expression.
<ANSI string>.RegexReplaceReplaces all the parts of a string that match a specific format.
<ANSI string>.RegexSearchSearches for all the parts of a string that match a specific format.
<ANSI string>.ReplaceReplaces all occurrences of a specified substring in a string with another specified substring.
<ANSI string>.ReverseReverses the characters of a string.
<ANSI string>.RightExtracts the last characters from a string or string buffer.
<ANSI string>.SplitExtracts all the substrings from a character string based on one or more string separators.
<ANSI string>.StartsWithChecks whether a character string starts:
  • with a specific character string.
  • with one of the character strings in an array.
<ANSI string>.ToNumReturns the numeric value of a character string. This feature enables you to perform numeric calculations on strings.
<Buffer>.AnsiToUnicodeConverts a buffer containing an ANSI string (Windows) to a buffer containing a UNICODE string.
<Buffer>.UTF8ValidChecks the validity of a UTF-8 buffer.
<OEM string>.OemToAnsiConverts an OEM string (DOS) to an ANSI string (Windows).
<Unicode string>.RegexMatchChecks whether a string matches the format defined by a regular expression.
<Unicode string>.RegexReplaceReplaces all the parts of a string that match a specific format.
<Unicode string>.RegexSearchSearches for all the parts of a string that match a specific format.
Minimum version required
  • Version 25
This page is also available for…
Comments
Click [Add] to post a comment

Last update: 10/16/2024

Send a report | Local help