tagged [string]

Python string class like StringBuilder in C#?

Python string class like StringBuilder in C#? Is there some string class in Python like `StringBuilder` in C#?

3 Jun at 10:5

Curly braces in string in PHP

Curly braces in string in PHP What is the meaning of `{ }` (curly braces) in string literals in PHP?

17 Oct at 12:48

Convert int to string?

Convert int to string? How can I convert an `int` datatype into a `string` datatype in C#?

9 Jun at 04:33

How can I exclude one word with grep?

How can I exclude one word with grep? I need something like:

9 Apr at 21:12

How to convert list to string

How to convert list to string How can I convert a list to a string using Python?

14 Sep at 19:41

Get first 250 words of a string?

Get first 250 words of a string? How do I get the first 250 words of a string?

13 Nov at 20:38

How should I concatenate strings?

How should I concatenate strings? Are there differences between these examples? Which should I use in which case? ``` var str1 = "abc" + dynamicString + dynamicString2; var str2 = String.Format("abc{0...

23 May at 12:32

Replace Line Breaks in a String C#

Replace Line Breaks in a String C# How can I replace Line Breaks within a string in C#?

26 Oct at 13:20

Trim string in JavaScript

Trim string in JavaScript How do I remove all whitespace from the start and end of the string?

13 Jun at 01:47

Does VBScript have a substring() function?

Does VBScript have a substring() function? Is there a `substring()` function in VBScript similar to Java's `string.substring()`?

8 Feb at 17:1

Why does the string type have a .ToString() method?

Why does the string type have a .ToString() method? Why does the string data type have a `.ToString()` method?

28 Nov at 14:24

String, StringBuffer, and StringBuilder

String, StringBuffer, and StringBuilder Please tell me a real time situation to compare `String`, `StringBuffer`, and `StringBuilder`?

27 Aug at 17:3

How to get ° character in a string in python?

How to get ° character in a string in python? How can I get a `°` (degree) character into a string?

7 Jun at 12:35

Remove characters from a string

Remove characters from a string What are the different ways I can remove characters from a string in JavaScript?

21 Oct at 18:1

Java Equivalent to .NET's String.Format

Java Equivalent to .NET's String.Format Is there an equivalent to .NET's `String.Format` in Java?

16 Jun at 23:36

Extract substring from a string

Extract substring from a string what is the best way to extract a substring from a string in android?

15 Jan at 19:39

Why does String.Format convert a forward slash into a minus sign?

Why does String.Format convert a forward slash into a minus sign? Why does `String.Format("/")` get converted to "-"?

16 Aug at 13:55

How to sort a list of strings?

How to sort a list of strings? What is the best way of creating an alphabetically sorted list in Python?

25 Apr at 19:27

Passing base64 encoded strings in URL

Passing base64 encoded strings in URL Is it safe to pass raw base64 encoded strings via GET parameters?

3 Sep at 17:37

C++ Remove new line from multiline string

C++ Remove new line from multiline string Whats the most efficient way of removing a 'newline' from a std::string?

28 Sep at 19:0

Concat strings in a shell script

Concat strings in a shell script How can I concat strings in shell? Is it just... ?

24 Jul at 17:21

Escaping arguments for string.Format in a C# multiline verbatim string

Escaping arguments for string.Format in a C# multiline verbatim string When I format it as a usual string with string.Format, naturally i get an exception that the input string was not in correct form...

8 Oct at 19:31

How to use verbatim strings with interpolation?

How to use verbatim strings with interpolation? In C# 6 there is a new feature: interpolated strings. These let you put expressions directly into code. Rather than relying on indexes: the above become...

How do I turn a String into a InputStreamReader in java?

How do I turn a String into a InputStreamReader in java? How can I transform a `String` value into an `InputStreamReader`?

13 Dec at 23:29

tabbing in C# resource file

tabbing in C# resource file How do i add a TAB (\t) to a string resource ? "\tText" doesn't work

25 May at 15:43