223 questions
In c++, string find (string num1, string num2)I'm going to make a function called find, but can I use the return type as a string?
So far, we've used the isNaN function to check whether the variable is a string or an object, but it doesn't seem to work properlyI wonder if I did it the right way.if(isNaN(element)) element = docume...
For example, if there is a word Hello world, change the letter of index number 4 to blankvar str = hello world;This is...str.replaceAt(4,);I want to make it hell world in this way, but is there a meth...
I wonder how to compare strings in Python.str1 = teststr2 = testprint (str1 == str2)This is the case of comparing only simple matches, as shown above.When I searched, I couldn't find anything except =...
I know how to use two buffersHow do I reverse a C/C++ string using only one buffer?for(int i=0; i<strlen(s1); i++) s2[strlen(s1)-i-1] = s1[i];
How do I check if a string contains another string in JavaScript?Normally, I would use the String.contains() method, but I don't think I can. What can I do?
Python wants to receive string input via raw_input().However, the input string contains several lines.For example, the following is the example.string = raw_input(hex code : )Input string 01 | string1...
string msg1 = hello, hello, kk, kkkk, rrrr;I want to change hello to bye when I'm withstring.replace() is not the function I want
My web app has a search field and a combo box that receives some strings. So we send two factors as a remote function. All I want is to configure the query by checking whether the input value is null ...
01234 -> 12340001234a -> 1234a001234-a -> 1234-a101234 -> 1012342509398 -> 2509398123z -> 123z000002829839 -> 2829839Like this, I want to erase it when there's a zero in front of ...
« | - 13 - | » |
© 2024 OneMinuteCode. All rights reserved.