python (65.1k questions)
javascript (44.2k questions)
reactjs (22.7k questions)
java (20.8k questions)
c# (17.4k questions)
html (16.3k questions)
r (13.7k questions)
android (12.9k questions)
Python - append zeros to beginning of numbers depending on the string length
i have python script that results in numbers, for example
1001
10001
100001
i need to append zeroes at the beginning that the length is always equal to 10
0000001001
0000010001
0000100001
i need to kn...
DRShams
Votes: 0
Answers: 2
maxLength causes a crash while a longer text is pasted in
I have declared in my fragment a textInputLayout which contains an edit text with parameters
android:inputType="textCapCharacters"
android:maxLength="3"
android:maxL...
JustSightseeing
Votes: 0
Answers: 2
Calculate length of string object using pointers instead of char arrays
I'm working on an exercise to calculate the length of a string using pointers.
Here's the code I've written below:
int main() {
std::string text = "Hello World";
std::string *string...
user17696124
Votes: 0
Answers: 3
How to use where clause to get the output on the basis of the length of Character's in it
So the thing is that I have the following question:
Display the column Brand from the table clothing where length(Brand)=10.
So I used the query: select Brand from clothing where length(Brand)=10;
Thi...
Aanand Ingle
Votes: 0
Answers: 0