python (12.9k questions)
javascript (9.2k questions)
reactjs (4.7k questions)
java (4.2k questions)
java (4.2k questions)
c# (3.5k questions)
c# (3.5k questions)
html (3.3k questions)
What am I missing in my random lowercase string generator function ? Using Swift 5.5
I have a function I use to generate random strings for email addresses or passwords (for example). It was originally set like this:
static func random(length: Int) -> String {
let characters = ...

Indigo
Votes: 0
Answers: 1
Why does every brainf*ck interpreter (except the web ones) show these characters? (♀♂)
So I tried doing my own Brainf*ck interpreter in C++, and everything was going fine until I tried this program:
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++[.-]
It just goes to...

user14676520
Votes: 0
Answers: 1
PHP - Search string for unwanted characters
I am making register script and I need to protect string from characters other than a-z, A-Z, 0-9, and _. Is there simple way to e.g. search string for characters that are NOT in my array of allowed c...
Ryba
Votes: 0
Answers: 2
Double char - python
The points is from a certain input for example "Hello World" I need to print each character(case-sensitive) is repeated twice.
It should look like this "HHeelllloo WWoorrlldd".
Tha...
sevovs
Votes: 0
Answers: 3