Top "Character" questions

Refers to a symbol that represents a letter or number.

How to get the last X Characters of a Golang String?

If I have the string "12121211122" and I want to get the last 3 characters (e.g. "122"), is that possible in Go? …

string go character
"\n" or '\n' or std::endl to std::cout?

It was many years now since I stopped using std::endl to end lines when writing to std::cout, and …

c++ string character
Can I use an at symbol (@) inside URLs?

Is it safe to use an @ symbol as part of a user? For example, a possible URL would be http://…

http url character
What is the proper HTML entity for the "x" in a dimension?

Is the proper HTML entity for giving dimensions ×? I want to be semantically correct, but that begs the …

html character html-entities semantic-markup typography
C - Comparing string literal with character array

I am new to C and am still a bit confused about how to use strings via character arrays. In …

c arrays string character strcmp
Get the last 4 characters of output from standard out

I have a script that is running and uses lspci -s 0a.00.1 This returns 0a.00.1 usb controller some text device 4…

linux bash shell character
Is it necessary to use — and – in XHTML or HTML5?

It seems that it is best to use the & escape, instead of simply typing the ampersand (&). However, …

character-encoding escaping character special-characters html-escape-characters
How to remove specific special characters in R

I have some sentences like this one. c = "In Acid-base reaction (page[4]), why does it create water and not H+?" …

r regex character gsub
Find Positions of a Character in a String

How can I find a character in a String and print the position of character all over the string? For …

java string character indices