|
|
|
|
NoCharacter (Function) In french: SansCaractère
MyString is string MyString = NoCharacter("<Text>", "<>") // MyString contains "Text"
NoCharacter("Abracadabra", "a", sscInside) Â // Returns "Abrcdbra" NoCharacter("Abracadabra", "a", sscAll) Â // Returns "brcdbr"
Syntax
<Result> = NoCharacter(<Initial string> , <Characters to delete> [, <Position>])
<Result>: Character string Character string without the specified characters found on the left and on the right of the initial string. <Initial string>: Character string (with quotes) Initial character string. <Characters to delete>: Character string (with quotes) List of characters that must be deleted from the initial string. If this parameter corresponds to an empty string (""), <Result> will correspond to the initial string. <Position>: Optional Integer constant Position of the characters to delete. This position can correspond to one of the following constants: | | sscRight | Deletes the specified characters found on the right of the initial string. | sscLeft | Deletes the specified characters found on the left of the initial string. | sscOutside (Default value) | Deletes the specified characters found outside the initial string. Equivalent to sscRight + sscLeft. | sscInside | Deletes the specified characters found inside the initial string. | sscAll | Deletes the specified characters found in the initial string. Equivalent to sscRight + sscLeft + sscInside. |
Remarks If the string passed in parameter is in ANSI format, the result will be in ANSI format. If the string passed in parameter is in UNICODE format, the result will be in UNICODE format. Remark: If the result on an ANSI string is assigned to a UNICODE string (and conversely), the conversion will be implicitly performed. Business / UI classification : Neutral code
This page is also available for…
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|