|
|
|
|
|
- Special cases
- NoSpace and UNICODE
NoSpace (Function) In french: SansEspace Returns a character string without the space characters: - from the left and right side of the initial string.
 within the string.
NoSpace("Abra ca da bra", sscInside)
Syntax
<Result> = NoSpace(<Initial string> [, <Position>])
<Result>: Character string String without spaces. <Initial string>: Character string Initial string from which the leading and trailing spaces will be removed. This character string is not modified. <Position>: Integer constant Position of the spaces to be removed. This position can correspond to one of the following constants: | | sscAll | Removes all spaces from the initial string. Equivalent to sscRight + sscLeft + sscInside. | sscInside | Removes spaces within the initial string. | sscLeft | Removes spaces from the left side of the initial string. | sscOutside (Default value) | Removes spaces from both sides of the initial string. Equivalent to sscRight + sscLeft. | sscRight | Removes spaces from the right side of the initial string. |
Remarks - Left can also be used to remove spaces from the right side of the string.
- Right can also be used to remove spaces from the left side of the string.
- Non-breaking spaces: Non-breaking spaces (constant ESP or character <160>) are not removed by the function NoSpace. To remove them, use NoRightCharacter with the ESP constant.
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 NoSpace function used on an ANSI string is assigned to a Unicode string (and vice versa), ANSI/Unicode conversion will be implicitly performed. Business / UI classification: Neutral code
This page is also available for…
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|