ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Help / WLanguage / WLanguage functions / Standard functions / String management 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
Constants for managing character strings
ConstantDescriptionUsed by
BigEndianGroups values in big-endian format.BufferToHexa
ccIgnoreAccent
  • Compares strings ignoring accented characters.
  • Removes accents from a string.
ccIgnoreCaseCompares strings ignoring the case (uppercase/lowercase characters).StringCompare,
StringStartsWith,
StringEndsWith,
New in version 28
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,
New in version 28
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
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
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
New in version 28
KanbanFilter

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: 01/19/2023

Send a report | Local help