Top "Character" questions

Refers to a symbol that represents a letter or number.

Display special characters when using print statement

I would like to display the escape characters when using print statement. E.g. a = "Hello\tWorld\nHello World" print …

python printing escaping character
Max length UITextField

When I've tried How to you set the maximum number of characters that can be entered into a UITextField using …

ios swift uitextfield character max
How to avoid pressing Enter with getchar() for reading a single character only?

In the next code: #include <stdio.h> int main(void) { int c; while ((c=getchar())!= EOF) putchar(c); …

c input character getchar unbuffered
Set the maximum character length of a UITextField in Swift

I know there are other topics on this but I can't seem to find out how to implement it. I'm …

ios string swift uitextfield character
How to check the first character in a string in Bash or UNIX shell?

I'm writing a script in UNIX where I have to check whether the first character in a string is "/" and …

string bash unix character exitstatus
How to index characters in a Golang string?

How to get an "E" output rather than 69? package main import "fmt" func main() { fmt.Print("HELLO"[1]) } Does Golang have …

string go character
How to use ArrayList.addAll()?

I want to fill an ArrayList with these characters +,-,*,^ etc. How can I do this without having to add …

java arraylist add character
Java: How to split a string by a number of characters?

I tried to search online to solve this question but I didn't found anything. I wrote the following abstract code …

java string split numbers character
How to compare character ignoring case in primitive types

I am writing these lines of code: String name1 = fname.getText().toString(); String name2 = sname.getText().toString(); aru = 0; count1 = name1.…

java string character case-sensitive case-insensitive
Representing EOF in C code?

The newline character is represented by "\n" in C code. Is there an equivalent for the end-of-file (EOF) character?

c character ascii eof