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
WINDEV
WindowsLinuxUniversal Windows 10 AppJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadIOS WidgetApple WatchMac CatalystUniversal Windows 10 App
Others
Stored procedures
String constants
ConstantDescriptionUsed by
BigEndianGroups values in big-endian format.BufferToHexa
New in version 2024
byRegularExpression
Search using a regular expression.
New in version 2024
EditorSearchCode
ccIgnoreAccent
  • Compares strings ignoring accented characters.
  • Removes accents from a string.
ccIgnoreCaseCompares strings ignoring the case (uppercase/lowercase characters).StringCompare,
StringStartsWith,
StringEndsWith,
KanbanFilter
SortOption property
ccIgnoreInsideSpace
  • Compares strings ignoring spaces within the strings.
  • Removes spaces within the strings.
ccIgnorePonctuationAndSpace
  • Compares strings ignoring spaces and punctuation characters.
  • Removes spaces and punctuation characters.
ccIgnoreSpace
  • Compares strings ignoring leading and trailing spaces.
  • Removes leading and trailing spaces from the string.
ccLexicographicOrderCompares strings in lexicographical order (for example, 'é' is between 'e' and 'f').StringCompare,
SortOption property
ccLowCaseConverts the string to lowercase characters.StringFormat
StringSplit
ccNormalStandard comparison, similar to comparison operators such as <, <=, >, >=, =, etc.StringCompare,
StringStartsWith,
StringEndsWith,
StringFormat,
SortOption property,
StringSplit,
CapitalizeEachWord
ccRespectNumericCompares strings taking into account the numeric values within the strings (in this case, "10" comes after "9").StringCompare
ccUpCaseConverts the string to uppercase characters (including accented characters).StringFormat
StringSplit
ctAccentType of characters to find: Accented characters or characters with diacritical marks.CharactTypeCount, CharactType
ctAlphaType of characters to find: Letters.CharactTypeCount, CharactType
ctLowercaseType of characters to find: Lowercase characters.CharactTypeCount, CharactType
ctNumericType of characters to find: Numeric characters.CharactTypeCount, CharactType
ctPunctuationType of characters to find: Punctuation characters.CharactTypeCount, CharactType
ctSpaceType of characters to find: Spaces.CharactTypeCount, CharactType
ctUppercaseType of characters to find: Uppercase characters.CharactTypeCount, CharactType
durationCentiFormat of the duration to convert: "+DHHMMSSCC"StringToDuration, DurationToString
durationMilliFormat of the duration to convert: "+DHHMMSSCCC"StringToDuration, DurationToString
firstRankStarts searching for substrings separated by the specified separators from the beginning of the string.ExtractString,
PositionOccurrence
FromBeginningSearches from the beginning of the string.ExtractString,
StringIncrement,
Position,
PositionOccurrence,
CommonLength
FromEndSearches from the end of the string.ExtractString,
StringIncrement,
Position,
PositionOccurrence,
CommonLength
IgnoreCaseSearches ignoring the case (uppercase/lowercase characters).StringCount, Position, PositionOccurrence,
Replace, CommonLength
DocFind, DocReplace
New in version 2024
EditorSearchCode

New in version 2024
EditorCodeRemplace
lastRankStarts searching for substrings separated by the specified separators from the end of the string.ExtractString,
PositionOccurrence
nextRankContinues the search started with firstRank.ExtractString,
PositionOccurrence
New in version 2024
nfaLeft
Framing the number: Framing on the left, fill characters will be added on the right.
New in version 2024
NumericFormat type
New in version 2024
nfaRight
Framing the number: Framed on the right, fill characters will be added on the left.
New in version 2024
NumericFormat type
New in version 2024
nfnBinary
Type of notation to be used: Binary notation.
New in version 2024
NumericFormat type
New in version 2024
nfnDecimal
Type of notation to be used: Decimal notation.
New in version 2024
NumericFormat type
New in version 2024
nfnExponential
Type of notation to be used: Exponential notation.
New in version 2024
NumericFormat type
New in version 2024
nfnHexadecimal
Type of notation to be used: Hexadecimal notation.
New in version 2024
NumericFormat type
New in version 2024
nfnOctal
Type of notation to be used: Notation octal.
New in version 2024
NumericFormat type
New in version 2024
nfsAlways
  • Sign display: The sign is always displayed.
  • Displaying the sign when displaying under exponential Geometry: The sign is always displayed.
New in version 2024
NumericFormat type
New in version 2024
nfsMinusIfNegative
  • Sign display: The '-' sign is only displayed if the number is negative.
  • Displaying the sign when displaying under exponential Geometry: The sign is displayed only if the number is negative.
New in version 2024
NumericFormat type
New in version 2024
nfsParenthesesIfNegative
Sign display: If the number is negative, it is surrounded by brackets.
New in version 2024
NumericFormat type
NoGroupingNumber of bytes per word: no grouping will be done. All hexadecimal codes will have no spaces. Example: 61002345A1.BufferToHexa
NoLineNumber of bytes before moving to the next line: all bytes will be on the same line.BufferToHexa
numberOfCharactersToDeleteTruncate method: Specifies the number of characters to remove.Truncate
numberOfCharactersToStoreTruncate method: Specifies the number of characters to keep.Truncate
previousRankContinues the search started with lastRank.ExtractString,
PositionOccurrence
psdFormattingJSON formatting options: the JSON string is generated with carriage returns and tabs. VariantToJSON
psdMinifiedJSON formatting options: the JSON string is generated by removing unnecessary spaces. Serialize, VariantToJSON
sizeBSize converted to bytes.LengthToString
sizeGBSize converted to gigabytes.LengthToString
sizeKBSize converted to kilobytes.LengthToString
sizeMBSize converted to megabytes.LengthToString
sizeTBSize converted to terabytes.LengthToString
sortDefaultPerforms a case-insensitive and accent-insensitive sort. Ignores spaces.SortOption property
sortWithoutFunctionGxxxSorts text while ignoring gImage, gStoredValue, etc.SortOption property
srASCIIZAddressThe format of the string to retrieve is an integer that contains the address of an ASCIIZ string.StringRetrieve
srUNICODEAddressThe format of the string to retrieve is an integer that contains the address of a Unicode string.StringRetrieve
sscAllRemoves all specified spaces or characters from the initial string.
Equivalent to sscRight + sscLeft + sscInside.
NoCharacter, NoSpace
sscInsideRemoves specified spaces or characters within the initial string.NoCharacter, NoSpace
sscLeftRemoves specified spaces or characters from the beginning of the initial string.NoCharacter, NoSpace
sscOutsideRemoves specified spaces or characters from the beginning and end of the initial string.
Equivalent to sscRight + sscLeft.
NoCharacter, NoSpace
sscRightRemoves specified spaces or characters from the end of the initial string.NoCharacter, NoSpace
urlDomainURL section to extract: Domain of the URL.URLExtractPath
urlFragmentURL section to extract: Fragment of the URL (anchor in a document).URLExtractPath
urlPasswordURL section to extract: Password of the user in the URL.URLExtractPath
urlPortURL section to extract: Port of the URL.URLExtractPath
urlProtocolURL section to extract: Protocol of the URL.URLExtractPath
urlRequestURL section to extract: Request of the URL.URLExtractPath
urlResourceExtensionURL section to extract: Extension of the URL resource.URLExtractPath
urlResourceNameURL section to extract: Name of the URL resource.URLExtractPath
urlResourcePathURL section to extract: Path of the URL resource.URLExtractPath
urlUserURL section to extract: Name of the user in the URL.URLExtractPath
WholeWordSearches for a whole word, i.e., between punctuation characters or spaces.StringCount, Position, PositionOccurrence,
Replace, CommonLength
DocFind, DocReplace
KanbanFilter
New in version 2024
EditorSearchCode

New in version 2024
EditorCodeRemplace
WithDuplicatesAllows duplicates in an associative array.Associative array
WithoutDuplicatesDoes not allow duplicates in an associative array.Associative array
See also
Minimum version required
  • Version 9
This page is also available for…
Comments
Click [Add] to post a comment

Last update: 02/02/2024

Send a report | Local help