$squeeze

$squeeze

Welcome to our Knowledge Base

Documentation | Blog | Demos | Support

< All Topics
Print

$squeeze

Builds a single character string out of separate strings, inserting a separator string.

Syntax

$squeeze(separator «,string»)

Parameters

separatorA character string, or an expression that evaluates to a character string. Separator is placed between each instance of string.
stringA character string, or an expression that evaluates to a character string. Leading and trailing blanks are trimmed from string. Each string must be separated from the next by a comma.

Return Value

Character string.

Comments

$squeeze combines specified strings into a single string, with separator placed between each string. In the function call, each string must be separated from the next by a comma. Leading and trailing blanks are trimmed from each string.

Example

$squeeze (",",LastName,FirstName,Salutation)

Evaluates to “Smith,John,Mr.” when FirstName is “John “, LastName is “Smith “, and Salutation is “Mr. “.

list all Ents format $squeeze ("",EntName,EntType,AvgSize,DirName)

Compresses the LIST output as much as possible.

Related Information

$concat

Was this article helpful?
0 out of 5 stars
5 Stars 0%
4 Stars 0%
3 Stars 0%
2 Stars 0%
1 Stars 0%
5
How can we improve this article?
Please submit the reason for your vote so that we can improve the article.

Deixe um comentário

O seu endereço de e-mail não será publicado. Campos obrigatórios são marcados com *

pt_BRPortuguese