string tag

223 questions


2 answers
42 views
0
How to know null and empty in String in Java

I searched Google, but it didn't come out, so I'm asking you a question. Is there any method in the Java Standard Library that allows you to know that the string is empty or null?

2 years ago

1 answers
97 views
0
Python type conversion error

of Python, to list serise value from the string float I was about to change it to error .What's wrong?The code intention is change_csv['Volume'] serise is 1.61M, 77.2K, and it's kilo and millon I want...

2 years ago

1 answers
169 views
0
What is the difference between using the StringBuilder class in Java's toString() method and using the string connection operator?

Which of the two toString() methods below is the better one?public String toString(){ return {a:+ a + , b: + b + , c: + c +};}public String toString(){ StringBuilder sb = new StringBuilder(100); retu...


1 answers
127 views
0
Python capitalization, string division

a = When there is a string called Aaron MOOYAustralia MidfielderYou are about to add a spacing or - separated by a name country position.To do that, you want to find the part that is separated by lowe...

2 years ago

1 answers
81 views
0
I want to convert the String to ArrayList, and I want to add a comma part

Is there any method created in Java that separates the string into an array or list by comma?Or do I have to make the code myself?


1 answers
44 views
0
I want to know how to store a string as a C array element

I want to create a two-dimensional array and store strings in each element.My code prints well, but it alerts me when I compile it.How do I create an array without warning?char (*a[2])[14];a[0]=blah;a...

2 years ago

1 answers
124 views
0
Const char* data storage structure

const char* name = string;cout << &name;cout << static_cast<const void*(&*name);Here, the address of the pointer name changes every time you run it The address that the name poi...

2 years ago

1 answers
66 views
0
Access desired posts through Python string search.

This is the code I wrote so far. The purpose is to enter the article with the title of the bulletin board with the desired wordFirst of all, I even wrote the title and link of the post to include it i...

2 years ago

1 answers
60 views
0
What is Impossible in Java?

Impossible is not well understood. Please explain with an example.

2 years ago

1 answers
41 views
0
How to lowercase a string in JavaScript

I'd like to change the string to lowercase, how can I do that? For example, if it's Your Name, I want to change it to Your NameYo

2 years ago
« - 9 - »

© 2024 OneMinuteCode. All rights reserved.