223 questions
I'm trying to enter a string in a two-dimensional array, but it doesn't workIf the name of the two-dimensional array is matrix, is it correct that each character in the string is in matrix[i][j]?For e...
The code below is a function that functions to search for a string in a string. I have a question because I don't understand something while analyzing the code.The first of the two codes below works f...
I'm comparing string characters and string arrays. #include <iostream>#include <string>int main(){string Subway[] = {Bulgwang, Hapjeong, Mapo-gu Office, Mangwon};string a = Telescence;int ...
Source in use String[] array_word; array_word = readMessage.split(); for(int i=1;i<65;i++){ if(array_word[i] == '0'){ array_word[i] = null; } }I'm putting what I received as a rea...
For example, a = QWASDFGHJKIf there is a string like this, how do I print out ASDF and GHJK separately, excluding QW?
my_string = b'The string'They put b in front of the string like this, and I wonder what it means, what influence it has, and when it is used.
Object Object_Array[]=new Object[100];String String_Array[]=new String[Object_Array.length];for (int i=0;i<String_Array.length;i++) String_Array[i]=Object_Array[i].toString();Code to convert an obj...
my_list = ['abc-123', 'def-456', 'ghi-789', 'abc-456']How do I find out if there is an 'abc' in the list from the same list?What I know is that list items like 'abc-123' and 'abc-456' have to match ex...
How does CharSequence change to String?
In Python, string.endwith could be inspected.Does C++ also have a function that determines whether std::string ends with a specific character or not?
« | - 8 - | » |
© 2024 OneMinuteCode. All rights reserved.