Help / WLanguage / WLanguage functions / Standard functions / String functions
  • StringFormat and UNICODE
WindowsLinuxUniversal Windows 10 AppJavaReports and QueriesUser code (UMC)
WindowsLinuxPHPWEBDEV - Browser code
AndroidAndroid Widget iPhone/iPadIOS WidgetApple WatchMac CatalystUniversal Windows 10 App
Stored procedures
Formats a character string according to the selected options.
MyString1 is string = "Developing is fantastic"
MyString1 = StringFormat(MyString1, ccUpCase)
// MyString1 contains "DEVELOPING IS FANTASTIC"
<Result> = StringFormat(<String> , <Options>)
<Result>: Character string
String formatted according to the selected criteria.
<String>: Character string
Character string to format.
WINDEVWEBDEV - Server code You can use Unicode strings.
Linux You cannot use Unicode strings.
<Options>: Constant or combination of constants
Formatting options:
ccIgnoreAccentFormat without accented characters.
ccIgnoreInsideSpaceThe following characters are deleted within the string:
  • space (character 32)
  • tab (character 9)
  • carriage return (character 13) and line feed (character 10)
  • control characters 11 and 12
AndroidAndroid Widget JavaPHP This constant is not available.
ccIgnorePunctuationAndSpaceRemoves spaces and punctuation characters.
ccIgnoreSpaceThe following characters are deleted at the beginning and at the end of the string:
  • space (character 32)
  • tab (character 9)
  • carriage return (character 13) and line feed (character 10)
  • control characters 11 and 12
ccLowCaseConverts the string to lowercase characters.
ccNormalNo formatting is performed.
ccUpCaseConverts the string to uppercase characters (including accented characters).

StringFormat and UNICODE

If the string passed as a parameter is an ANSI string, the result will be an ANSI string.
If the string passed as a parameter is a UNICODE string, the result will be a UNICODE string.
Remark: If the result of StringFormat on an ANSI string is assigned to a UNICODE string (and vice versa), the conversion will be implicitly performed.
For more details, see Managing UNICODE.
Component: wd290vm.dll
Minimum version required
  • Version 9
This page is also available for…
Click [Add] to post a comment

Last update: 05/26/2022

Send a report | Local help