You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: powerapps-docs/maker/canvas-apps/functions/function-concatenate.md
+7-6Lines changed: 7 additions & 6 deletions
Original file line number
Diff line number
Diff line change
@@ -18,14 +18,15 @@ search.app:
18
18
Concatenates individual strings of text and strings in [tables](../working-with-tables.md).
19
19
20
20
## Description
21
+
22
+
The **Concatenate** function concatenates a mix of individual strings and a single-column table of strings. Used with individual strings, this function is equivalent to using the **&**[operator](operators.md).
23
+
21
24
The **Concat** function concatenates the result of a formula applied across all the [records](../working-with-tables.md#records) of a table, resulting in a single string. Use this function to summarize the strings of a table, just as the **[Sum](function-aggregates.md)** function does for numbers.
Use the [**Split** function](function-split.md) or [**MatchAll** function](function-ismatch.md) to split a string into a table of substrings.
26
29
27
-
The **Concatenate** function concatenates a mix of individual strings and a single-column table of strings. Used with individual strings, this function is equivalent to using the **&**[operator](operators.md).
28
-
29
30
## Syntax
30
31
**Concat**( *Table*, *Formula* )
31
32
@@ -76,8 +77,8 @@ Select the button (hold down the Alt key while clicking the button).
76
77
77
78
| Formula | Description | Result |
78
79
|---------|-------------|--------|
79
-
|**Concat( Products, Name & ", " )**| Evaluates the formula **Name & ", "** for each record of **Products** and concatenates the results together into a single text string. | "Violin,Cello,Trumpet," |
80
-
|**Concat( Filter( Products, Type = "String" ), Name & ", " )**| Evaluates the formula **Name & ", "** for each record of **Products** that satifies the filter **Type = "String"** and concatenates the results together into a single text string. | "Violin,Cello," |
80
+
|**Concat( Products, Name & ", " )**| Evaluates the formula **Name & ", "** for each record of **Products** and concatenates the results together into a single text string. | "Violin, Cello, Trumpet, " |
81
+
|**Concat( Filter( Products, Type = "String" ), Name & ", " )**| Evaluates the formula **Name & ", "** for each record of **Products** that satifies the filter **Type = "String"** and concatenates the results together into a single text string. | "Violin, Cello, " |
81
82
82
83
### Trimming the end
83
84
@@ -87,8 +88,8 @@ In some cases these extra characters won't matter, for example if a single space
87
88
88
89
| Formula | Description | Result |
89
90
|---------|-------------|--------|
90
-
|**Left( Concat( Products, Name & ", " ), Len( Concat( Products, Name & ", " ) ) - 2 )**| Returns the result of **Concat** but removes the last two characters, the extra separator that is not desired. | "Violin,Cello,Trumpet" |
91
-
|**Match( Concat( Products, Name & ", " ), "^(?<trim>.*), $" ).trim**| Returns the characters of **Concat** from the beginning of the text string (^) to the end ($) but does not include the unwanted comma and space at the end. | "Violin,Cello,Trumpet" |
91
+
|**Left( Concat( Products, Name & ", " ), Len( Concat( Products, Name & ", " ) ) - 2 )**| Returns the result of **Concat** but removes the last two characters, the extra separator that is not desired. | "Violin, Cello, Trumpet" |
92
+
|**Match( Concat( Products, Name & ", " ), "^(?<trim>.*), $" ).trim**| Returns the characters of **Concat** from the beginning of the text string (^) to the end ($) but does not include the unwanted comma and space at the end. | "Violin, Cello, Trumpet" |
Copy file name to clipboardExpand all lines: powerapps-docs/maker/canvas-apps/functions/function-logicals.md
+10-10Lines changed: 10 additions & 10 deletions
Original file line number
Diff line number
Diff line change
@@ -59,16 +59,16 @@ Select the button (hold down the Alt key while clicking the button).
59
59
60
60
| Formula | Description | Result |
61
61
|---------|-------------|--------|
62
-
|**And( a, b )**| Tests the values of **a** and **b**. Since one of the arguments is *false*, the function returns *false*|*false*|
63
-
|**a And b**| Same as the previous example, using Visual Basic notation |*false*|
64
-
|**a && b**| Same as the previous example, using JavaScript notation |*false*|
65
-
|**Or( a, b )**| Tests the values of **a** and **b**. Since one of the arguments is *true*, the function returns *true*|*true*|
66
-
|**a Or b**| Same as the previous example, using Visual Basic notation |*true*|
67
-
|**a || b**| Same as the previous example, using JavaScript notation |*true*|
68
-
|**Not( a )**| Tests the value of **a**. Since the argument is *false*, the function returns the opposite *true*|*true*|
69
-
|**Not a**| Same as the previous example, using Visual Basic notation |*true*|
70
-
|**! a**| Same as the previous example, using JavaScript notation |*true*|
71
-
|**Len( s ) < 20 And Not IsBlank( s )**| Tests if the length of **s** is less than 20 and if it is not a **blank** value. Since the length is less than 20 and it is not blank, the result is *true*|*true*|
62
+
|**And( a, b )**| Tests the values of **a** and **b**. Since one of the arguments is *false*, the function returns *false*.|*false*|
63
+
|**a And b**| Same as the previous example, using Visual Basic notation.|*false*|
64
+
|**a && b**| Same as the previous example, using JavaScript notation.|*false*|
65
+
|**Or( a, b )**| Tests the values of **a** and **b**. Since one of the arguments is *true*, the function returns *true*.|*true*|
66
+
|**a Or b**| Same as the previous example, using Visual Basic notation.|*true*|
67
+
|**a || b**| Same as the previous example, using JavaScript notation.|*true*|
68
+
|**Not( a )**| Tests the value of **a**. Since the argument is *false*, the function returns the opposite *true*.|*true*|
69
+
|**Not a**| Same as the previous example, using Visual Basic notation.|*true*|
70
+
|**! a**| Same as the previous example, using JavaScript notation.|*true*|
71
+
|**Len( s ) < 20 And Not IsBlank( s )**| Tests if the length of **s** is less than 20 and if it is not a **blank** value. Since the length is less than 20 and it is not blank, the result is *true*.|*true*|
72
72
|**Or( Len( s ) < 10, x < 100, y < 100 )**| Tests if the length of **s** is less than 10 which is *false*, if **x** is less than 100 which is *true*, and if y is less than 100 which is *false*. Since one of the arguments to **Or** is *true*, the function returns *true*. |*true*|
73
73
|**Not IsBlank( s )**| Test if **s** is *blank* which returns *false*. **Not** returns the opposite of this result which is *true*. |*true*|
0 commit comments