|
|
|
|
|
StringFormat (Function) In french: ChaîneFormate Formats a character string according to the selected options. MyString1 is string = "Developing is fantastic" MyString1 = StringFormat(MyString1, ccUpCase) // MyString1 contains "DEVELOPING IS FANTASTIC"
Syntax
<Result> = StringFormat(<String> , <Options>)
<Result>: Character string String formatted according to the selected criteria. <String>: Character string Character string to format. <Options>: Constant or combination of constants Formatting options: | | ccIgnoreAccent | Format without accented characters. | ccIgnoreInsideSpace | The 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
| ccIgnorePunctuationAndSpace | Removes spaces and punctuation characters. | ccIgnoreSpace | The 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
| ccLowCase | Converts the string to lowercase characters. | ccNormal | No formatting is performed. | ccUpCase | Converts the string to uppercase characters (including accented characters). |
Remarks If the string passed as a parameter is an ANSI string, the result will be an ANSI string. If the string passed in parameter is in Unicode format, the result will be in Unicode format. Note If the result of the StringFormat function used on an ANSI string is assigned to a Unicode string (and vice versa), ANSI/Unicode conversion will be implicitly performed.
This page is also available for…
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|