About 3,520,000 results
Open links in new tab
  1. python - How can strings be concatenated? - Stack Overflow

    How to concatenate strings in python? For example: Section = 'C_type' Concatenate it with Sec_ to form the string: Sec_C_type See also: How do I put a variable’s value inside a string (interpolate...

  2. How to concatenate (join) items in a list to a single string

    Sep 17, 2012 · For handling a few strings in separate variables, see How do I append one string to another in Python?. For the opposite process - creating a list from a string - see How do I split a …

  3. How do I concatenate two strings in C? - Stack Overflow

    Dec 11, 2011 · C does not have the support for strings that some other languages have. A string in C is just a pointer to an array of char that is terminated by the first null character. There is no string …

  4. Most efficient way to concatenate strings? - Stack Overflow

    The String.Join answer below doesn't do + justice and is, practically speaking, a bad way to concatenate strings, but it is surprisingly fast performance wise. The answer why is interesting. String.Concat and …

  5. How to concatenate string variables in Bash - Stack Overflow

    Nov 15, 2010 · How to check if a string contains a substring in Bash String contain: POSIX compatibility, bash case independent, hints and remarks. How do I split a string on a delimiter in Bash? POSIX …

  6. How do I concatenate two strings in Java? - Stack Overflow

    I am trying to concatenate strings in Java. Why isn't this working? public class StackOverflowTest { public static void main (String args []) { int theNumber = 42; System.out.

  7. How to efficiently concatenate strings in go - Stack Overflow

    Nov 19, 2009 · In Go, a string is a primitive type, which means it is read-only, and every manipulation of it will create a new string. So if I want to concatenate strings many times without knowing the length of...

  8. How to concatenate a fixed string and a variable in Python

    How to concatenate a fixed string and a variable in Python [duplicate] Asked 12 years, 3 months ago Modified 3 years, 8 months ago Viewed 334k times

  9. How can I concatenate a string and a number in Python?

    Aug 8, 2011 · Since Python is a strongly typed language, concatenating a string and an integer, as you may do in Perl, makes no sense, because there's no defined way to "add" strings and numbers to …

  10. Best way to concatenate List of String objects? [duplicate]

    Feb 7, 2009 · What is the best way to concatenate a list of String objects? I am thinking of doing this way: