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
WindowsLinuxJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadIOS WidgetApple WatchMac Catalyst
Others
Stored procedures
String constants
ConstantDescriptionUsed by
BigEndianGroups values in big-endian format.BufferToHexa
byRegularExpressionSearch using a regular expression. CodeEditorSearch
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.
ccIgnorePunctuationAndSpace
  • 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 search for: Accented or diacritical characters.CharactTypeCount, CharactType
ctAlphaType of characters to search for: Letters.CharactTypeCount, CharactType
ctLowercaseType of characters to search for: Lowercase.CharactTypeCount, CharactType
ctNumericType of characters to search for: Numeric characters.CharactTypeCount, CharactType
ctPunctuationType of characters to search for: Punctuation characters.CharactTypeCount, CharactType
ctSpaceType of characters to search for: Spaces.CharactTypeCount, CharactType
ctUppercaseType of characters to search for: Uppercase characters.CharactTypeCount, CharactType
durationCentiTime format to convert: "+JHHMMSSCC".StringToDuration, DurationToString
durationMilliTime format to convert: "+JHHMMSSCCC".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
CodeEditorSearch
CodeEditorReplace
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
nfaLeftNumber alignment: Left alignment, fill characters will be added on the right.NumericFormat type
nfaRightNumber alignment: Right alignment, fill characters will be added on the left.NumericFormat type
nfnBinaryType of notation to be used: Binary notation.NumericFormat type
nfnDecimalType of notation to be used: Decimal notation.NumericFormat type
nfnExponentialType of notation to be used: Exponential notation.NumericFormat type
nfnHexadecimalType of notation to be used: Hexadecimal notation.NumericFormat type
nfnOctalType of notation to be used: Octal notation.NumericFormat type
nfpAutoUse of an automatic prefix. NumericFormat type
nfsAlways
  • Sign display: The sign is always displayed.
  • Displaying the sign when displaying in exponential form: The sign is always displayed.
NumericFormat type
nfsMinusIfNegative
  • Sign display: The '-' sign is only displayed if the number is negative.
  • Displaying the sign when displaying in exponential form: The sign is only displayed if the number is negative.
NumericFormat type
nfsParenthesesIfNegativeSign display: If the number is negative, it is surrounded by brackets.NumericFormat type
NoGroupingNumber of bytes displayed per word: no grouping will be performed. All hexadecimal codes will have no spaces. Example: 61002345A1.BufferToHexa
NoLineNumber of bytes displayed before going to line: all bytes will be positioned on the same line.BufferToHexa
numberOfCharactersToDeleteTruncation type: Specify the number of characters to be deleted.Truncate
numberOfCharactersToStoreTruncation type: Specify the number of characters to be retained.Truncate
previousRankContinues the search started with lastRank.ExtractString,
PositionOccurrence
psdFormattingJSON formatting option: JSON is generated with carriage returns and indentation. VariantToJSON
psdMinifiedJSON formatting option: JSON is generated by deleting 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
urlDomainPortion of URL to extract: URL domain.URLExtractPath
urlFragmentPortion of the URL to extract: Fragment of the URL (anchor in a document).URLExtractPath
urlPasswordPortion of URL to extract: User password in URL.URLExtractPath
urlPortPortion of URL to extract: URL port.URLExtractPath
urlProtocolPortion of URL to extract: URL protocol.URLExtractPath
urlRequestPortion of URL to be extracted: URL query.URLExtractPath
urlResourceExtensionPortion of URL to extract: Extension of the URL resource.URLExtractPath
urlResourceNamePortion of URL to extract: URL resource name.URLExtractPath
urlResourcePathPortion of URL to extract: URL resource path.URLExtractPath
urlUserPortion of URL to extract: User name in URL.URLExtractPath
WholeWordSearches for a whole word, i.e., enclosed in punctuation characters or spaces.StringCount, Position, PositionOccurrence,
Replace, CommonLength
DocFind, DocReplace
KanbanFilter
CodeEditorSearch
CodeEditorReplace
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: 03/25/2025

Send a report | Local help