Skip to main content
The 2024 Developer Survey results are live! See the results

Questions tagged [string-concatenation]

String concatenation is the operation of joining two character strings end-to-end.

string-concatenation
-5 votes
0 answers
30 views

string concatenation issue faced when attaching string with a number in python [closed]

Traceback (most recent call last): File "c:\Users\user\Desktop\September Report\tempCodeRunnerFile.python", line 140, in x1= -b/(2ac) + (math.sqrt(disc))/(2ac), str(j) ^ NameError: name 'j' ...
Usman Ghani's user avatar
0 votes
1 answer
21 views

How to make a flexible argument list for cursor.execute in python3?

In fact, I want to increase and decrease the mysql query items and the values ​​(arguments) according to the status of the variable values. based on my scenario I need to make a flexible mysql query ...
Alireza Mirhabibi - IRAN's user avatar
0 votes
2 answers
37 views

Terraform Quotes Syntax for Var + formatdate

Terraform = v1.8.2 AWS Provider = >= 5.30 from hashicorp/aws Trying to use terraform to create an AWS resource name to include the date+time it was created. This is to serialize the resource for ...
PSn00b's user avatar
  • 25
2 votes
3 answers
278 views

How to join compile-time string-like objects while keeping the API simple?

I am trying to concatenate string-like objects at compile-time. With the help of this post, I came up with something like this: #include <cstddef> #include <utility> #include <algorithm&...
lobelk's user avatar
  • 23
0 votes
0 answers
41 views

Shell concatenate text file (json) into string argument

I have a working command: mycommand --environment '{"Variables":{"var1":"new_val1","var2":"new_val2"}}' However, I want to place {"var1":&...
ServerBloke's user avatar
1 vote
2 answers
64 views

SQL - Is it possible to exclude columns from concatenation if NULL? [duplicate]

I have addresses in 5 columns: AddressLine1 AddressLine2 AddressLine3 AddressLine4 Country I would like to concatenate these into one column with a comma separating each address line. If the ...
Denzo37's user avatar
  • 23
0 votes
0 answers
32 views

Using CONCAT function in Java ComboBox problem

I'm currently developing a Car Rental System (just for fun and practice) and my problem is when I choose a car in my "Add Transaction" feature, it should be adding the transaction to the ...
user24935907's user avatar
0 votes
0 answers
36 views

how to modify/concatenate a column's string entry with a string entries from another dataframe's column?

i would like to concatenate the string value of one column's entries with those from another dataframe's column entries where the numbered index ids of the entries match, but the column length does ...
tooDeeStoned's user avatar
-3 votes
1 answer
61 views

Why only the concatenation is not running in this C chalenge?

I am trying to solve this HackerRank challenge: There are 3 variables already declared: i(integer), d(double), and s(string). I must declare 3 more variables of the same type as the previous, ...
Lucas Pontes C's user avatar
0 votes
0 answers
17 views

How to custom format currency in datatable columns using Tostring() with VB.NET

I'm Trying to custom format currency in datatable columns using Tostring() with VB.NET Please Guide Me. Thanks Public Class Form2 Private Function GetDemoDataTable() As DataTable Dim ...
roy's user avatar
  • 729
0 votes
1 answer
54 views

I am trying to use return of concat() function as a argument for text() function, but it's just returning concat()

I have a problem when using nested functions in Excel. I want to display dates in a certain way (eg. "Monday, 15 April 2024"), so I have used text() for that. I also wanted to be able to ...
Radek's user avatar
  • 9
0 votes
0 answers
26 views

Concatenate multiple string values into one value

I have usually 10, but up to 99, string values that are max 5 char long and separated by spaces. I want to concat them into one field so I can report them across the page with word-wrap managing the ...
Sparkle's user avatar
0 votes
2 answers
22 views

Android - can i add EditText value to the android:text row of a TextView in activity_main and have it concatenate?

<EditText android:id="@+id/et_name" android:layout_width="match_parent" android:layout_height="48dp" android:layout_margin="20dp" android:...
getoffmylap's user avatar
2 votes
3 answers
67 views

R function `paste` is inverting the order of its arguments

I am simply trying to print the output of a statistical process I'm running in R, and I find that the paste function appears to be inverting its inputs. Here's a MWE: df = data.frame(p_values=c(0.01, ...
Adrian Keister's user avatar
-1 votes
1 answer
103 views

Concatenating Multiple Rows Into String

I'm trying to concatenate multiple rows of a query into a string, but not getting the results I was expecting. The example that I'm working with should be returning one row, with the values of row 1 ...
B Leahy's user avatar
  • 13

15 30 50 per page
1
2 3 4 5
137