Tag: string

7435 How to check whether a string contains a substring in JavaScript? 2009-11-24T13:04:29.157

5605 What is the difference between String and string in C#? 2008-08-10T07:18:02.320

3415 How to read / convert an InputStream into a String in Java? 2008-11-21T16:47:40.287

3397 How to replace all occurrences of a string in JavaScript 2009-07-17T17:53:46.750

3194 Does Python have a string 'contains' substring method? 2010-08-09T02:52:50.963

3132 How do I make the first letter of a string uppercase in JavaScript? 2009-06-22T08:25:31.840

3015 Why is char[] preferred over String for passwords? 2012-01-16T14:20:42.473

2714 How do I iterate over the words of a string? 2008-10-25T08:58:21.013

2667 How do I check if a string contains a specific word? 2010-12-06T13:14:05.093

2657 How do I convert a String to an int in Java? 2011-04-07T18:27:54.270

2524 Case insensitive 'Contains(string)' 2009-01-14T21:39:46.670

2032 Creating multiline strings in JavaScript 2009-04-30T02:11:55.560

1975 How do I get a consistent byte representation of strings in C# without manually specifying an encoding? 2009-01-23T13:39:54.407

1883 How to check if a string contains a substring in Bash 2008-10-23T12:37:31.787

1849 How to read a file line-by-line into a list? 2010-07-18T22:25:01.410

1749 When to use double or single quotes in JavaScript? 2008-10-28T10:34:35.097

1711 Extract filename and extension in Bash 2009-06-08T14:00:29.207

1701 Is there a way to substring a string? 2009-03-19T17:29:41.583

1630 Why does this code using random strings print "hello world"? 2013-03-03T04:38:06.147

1607 How to lowercase a string in Python? 2011-07-23T03:08:53.153

1572 How to check if a string "StartsWith" another string? 2009-03-14T20:12:51.233

1520 How to generate a random alpha-numeric string? 2008-09-03T02:58:43.073

1455 Python join: why is it string.join(list) instead of list.join(string)? 2009-01-29T22:45:13.697

1434 How do I convert a string into an integer in JavaScript? 2009-07-15T20:22:48.227

1415 Convert bytes to a string? 2009-03-03T12:23:01.583

1356 How to split a string in Java 2010-08-14T03:01:53.143

1286 How do I create a Java string from the contents of a file? 2008-11-28T18:32:07.253

1279 Easiest way to convert int to string in C++ 2011-04-08T04:19:41.567

1259 startsWith() and endsWith() functions in PHP 2009-05-07T12:14:27.567

1247 Trim string in JavaScript? 2009-01-31T15:12:23.267

1176 Convert JavaScript String to be all lower case? 2008-09-30T20:22:35.093

1162 How do I check if a string contains another string in Objective-C? 2010-05-02T15:34:54.230

1145 Reverse a string in Python 2009-05-31T02:10:10.377

1067 Nicest way to pad zeroes to a string 2008-12-03T22:39:51.883

1063 Convert JS object to JSON string 2010-11-12T08:20:50.640

1059 Random string generation with upper case letters and digits in Python 2010-02-13T12:23:58.213

1042 endsWith in JavaScript 2008-11-11T11:15:32.807

1036 In YAML, how do I break a string over multiple lines? 2010-09-24T19:47:10.497

1011 Most elegant way to check if the string is empty in Python? 2012-03-05T20:09:23.927

1010 How to convert a string to lower or upper case in Ruby 2009-06-20T00:16:00.743

1000 How can I print literal curly-brace characters in python string and also use .format on it? 2011-03-29T00:04:53.057

994 Ukkonen's suffix tree algorithm in plain English 2012-02-26T11:30:09.650

985 How do I trim whitespace from a Python string? 2009-04-17T19:16:06.860

972 How to convert a string to lower case in Bash? 2010-02-15T07:02:56.790

943 Why can't I use switch statement on a String? 2008-12-03T18:23:57.127

938 Why does comparing strings in Python using either '==' or 'is' sometimes produce a different result? 2009-10-01T15:40:14.550

934 How do I trim whitespace? 2009-07-26T20:54:38.630

884 How to escape braces (curly brackets) in a format string in .NET 2008-09-18T10:04:48.583

870 How do I check if string contains substring? 2010-08-13T21:25:54.837

863 Pythonic way to create a long multi-line string 2012-05-18T22:21:09.633

840 Converting 'ArrayList<String> to 'String[]' in Java 2010-10-28T11:30:53.847

826 Converting an object to a string 2011-04-10T15:35:44.423

816 Escape curly brace '{' in String.Format 2010-09-22T21:44:19.330

809 StringBuilder vs String concatenation in toString() in Java 2009-10-07T15:44:08.690

798 How to convert a std::string to const char* or char*? 2008-12-07T19:30:56.800

797 JavaScript case insensitive string comparison 2010-01-26T16:07:45.427

784 How to convert UTF-8 byte[] to string? 2009-06-16T18:47:00.180

781 Multiline String Literal in C# 2009-07-08T20:03:34.677

772 Count the number occurrences of a character in a string 2009-07-20T20:00:36.297

759 Java string to date conversion 2010-11-18T15:53:01.240

738 How do I convert a String to an InputStream in Java? 2009-04-23T15:11:23.667

738 How to check if a String is numeric in Java 2009-07-09T09:49:47.097

735 How to convert a char to a String? 2011-11-17T18:37:19.267

731 What does %w(array) mean? 2009-08-13T21:23:47.170

727 How do I compare strings in Java? 2009-02-04T23:17:07.873

719 How would you count occurrences of a string (actually a char) within a string? 2009-02-12T15:57:40.907

714 Creating a comma separated list from IList<string> or IEnumerable<string> 2009-04-28T19:15:58.033

711 How to compare strings in Bash 2010-02-10T13:31:18.520

708 Get the length of a String 2014-06-04T12:40:01.927

698 How to trim whitespace from a Bash variable? 2008-12-15T21:24:01.093

694 What is the difference between single-quoted and double-quoted strings in PHP? 2010-08-10T05:12:56.133

688 PHP random string generator 2010-12-04T22:56:21.337

662 Easiest way to split a string on newlines in .NET? 2009-10-10T09:25:56.787

657 std::wstring VS std::string 2008-12-31T04:08:14.133

652 Remove empty array elements 2010-09-06T21:06:57.727

647 Best way to repeat a character in C# 2009-01-04T21:56:59.597

644 How to convert std::string to lower case? 2008-11-24T11:49:59.793

644 What is the correct way to check for string equality in JavaScript? 2010-08-27T17:37:55.777

638 In C#, should I use string.Empty or String.Empty or "" to intitialize a string? 2008-11-04T19:49:02.973

630 Select <a> which href ends with some string 2008-11-20T00:23:58.913

627 How to get the filename without the extension from a path in Python? 2009-03-24T16:41:03.283

619 How do I generate a stream from a string? 2009-12-10T08:14:34.120

617 How to check whether a string contains a substring in Ruby? 2011-11-24T14:21:15.703

607 How should I convert a string to an enum in C#? 2008-08-19T12:51:55.043

603 Convert hex string to int in Python 2008-10-16T17:28:03.497

593 How do I identify if a string is a number? 2009-05-21T18:06:27.297

574 How to change a string into uppercase 2012-02-13T07:48:56.727

572 Convert a String representation of a Dictionary to a dictionary? 2009-06-12T18:25:02.997

569 How to efficiently concatenate strings in Go? 2009-11-19T03:44:10.347

569 Swift: Split a String into an array 2014-09-05T03:51:01.450

554 In bash, how can I check if a string begins with some value? 2010-01-31T16:12:46.883

552 Escaping HTML strings with jQuery 2008-08-24T02:52:42.280

545 Extract substring in Bash 2009-01-09T13:53:22.793

545 C# Split A String By Another String 2010-02-11T15:24:15.950

542 How to check if type of a variable is string? 2011-01-30T13:32:19.477

535 How can I capture the result of var_dump to a string? 2008-09-26T13:23:02.140

535 Split Strings with Multiple Delimiters? 2009-06-29T17:49:35.070

526 How to strip all spaces out of a string in php? 2010-01-21T13:02:35.423

517 Get an OutputStream into a String 2008-10-19T20:03:23.823