string tag

223 questions


1 answers
42 views
0
How do I find out the repetitive strings?

You want to create a function that checks whether the string is repeated or not.For example, [ '0045662100456621004566210045662100456621', #Repeat '00456621' '0072992700729927007299270072992700729927'...


1 answers
95 views
0
Is it possible to change string to integer on Android?

I'd like to change the string to an integer.There's edittext, and the user enters a number here.I received it as String hello, but I want to change it to Integer instead of String.EditText et = (EditT...


1 answers
49 views
0
[%C7%D7%B1%B8 = Port] <- Unicode like this? What is the notation called?

[%C7%D7%B1%B8 = Port] <- This kind of Unicode? What is the notation called?As the file is moved from Windows to Linux, it is assumed that all the Korean file names are translated like that.Maybe it...

2 years ago

1 answers
39 views
0
Is there a way to count how many specific characters are in a string?

If you have the string a.b.c.d. in this string.I'd like to count how many there are. I'd like to know if I can find out without a repeat statement.

2 years ago

1 answers
42 views
0
I don't want to use a for statement, but I want to combine characters in the list into a single string

I don't want to use a for statement, but I want to combine characters in the list into a single stringa = ['a','b','c','d']Same list type a = 'abcd'I'm going to change it to one stringMy code was made...

2 years ago

1 answers
37 views
0
I want to get rid of all the "."s in JavaScript. What should I do?

I want to replace . with a space in the string, but I can't.For example,var mystring = 'okay.this.is.a.string';If there is, I want to change this to okay this is a string but I used a regular expressi...

2 years ago

1 answers
75 views
0
To determine if a String string has spaces in Java

Please tell me how to check if there is a space in the string in Java. I'm getting a string, but if the user enters only spaces, I don't want to let them enter only spaces, but I think I can see that ...

2 years ago

2 answers
126 views
0
strlen and string

I wonder why David921 read from the file through the strlen function has a length of 9.When reading the same David921 length through gets, the length is 8 so I wonder why this difference occurs.


1 answers
75 views
0
How to count how many repetitions a particular character has

var temp = This is a string.;alert(temp.count(is)); // output '2'I'm looking for a function that counts how many strings in a particular string into a parameter when I insert a string like this, but i...

2 years ago

1 answers
97 views
0
Is there any way to prevent "deferred conversion from string constant to 'char*'" from appearing on GCC?

I recently upgraded to gcc4.3, and the following warning appears after that.I think this happened by writing char* where you need to write const char*. My code is really long. (Almost 500 files)Cannot...

« - 11 - »

© 2024 OneMinuteCode. All rights reserved.