Top "String" questions

A string is a finite sequence of symbols, commonly used for text, though sometimes for arbitrary data.

How to get the position of a character in Python?

How can I get the position of a character inside a string in python?

python string
What is the difference between String and string in C#?

Example (note the case): string s = "Hello world!"; String s = "Hello world!"; What are the guidelines for the use of …

c# .net string types alias
How to convert a char to a String?

I have a char and I need a String. How do I convert from one to the other?

java string char type-conversion
Best way to convert an ArrayList to a string

I have an ArrayList that I want to output completely as a String. Essentially I want to output it in …

java string arraylist
How can I convert a comma-separated string to an array?

I have a comma-separated string that I want to convert into an array, so I can loop through it. Is …

javascript string split
Identify if a string is a number

If I have these strings: "abc" = false "123" = true "ab2" = false Is there a command, like IsNumeric() or something else, that …

c# string parsing isnumeric
How do I concatenate const/literal strings in C?

I'm working in C, and I have to concatenate a few things. Right now I have this: message = strcat("TEXT ", …

c string concatenation
Reverse a string in Java

I have "Hello World" kept in a String variable named hi. I need to print it, but reversed. How can …

java string
How to remove the last character from a string?

I want to remove the last character from a string. I've tried doing this: public String method(String str) { if (…

java string
How can I remove a character from a string using Javascript?

I am so close to getting this, but it just isn't right. All I would like to do is remove …

javascript string replace character