string tag

223 questions


1 answers
42 views
0
You are about to replace all strings with uppercase and lowercase letters

You are about to replace all of the ruby strings with uppercase and lowercase characters.I used str.upper() in PythonI tried everything with upper, tupper, upperCase, and convertUpper, but it didn't w...

2 years ago

1 answers
77 views
0
How to convert decimal to hex in JavaScript

How do I convert decimal to hexadecimal in JavaScript?

2 years ago

1 answers
47 views
0
To check for specific words

$a = 'How are you?';if ($a contains 'are') echo 'true';How do I check php for specific words in a string in this way?

2 years ago

1 answers
43 views
0
How to capitalize the first letter of a string in JavaScript

this is a test -> This is a testthe Eiffel Tower -> The Eiffel Tower/index.html -> /index.htmlI want to capitalize the first letter of the string in JavaScript like this, but I don't know how...


1 answers
43 views
0
What is the name of the method that erases all blank characters in the string?

I'm looking for a method to erase blank characters such as trim in php.Ruby has pretty much everything already made, so I'm sure it's somewhere, but I don't know the name

2 years ago

1 answers
50 views
0
Questions about finding a specific string in a string

varMessage = hi/thsid/sdfhsjdf/dfjsd/sdjfsdn\n /my/name/is/balaji.so\n call::myFunction(int const&)\n void::secondFunction(char const&)\n . . . this/is/last/line/liobrary.soHow do ...

2 years ago

1 answers
50 views
0
What is the difference between the equal() method of String class and the equivalent comparison operator (==) in Java?

Below is the source code that separates a string into tokens, stores it in an array, and compares the strings. Why doesn't it work?public static void main(String...aArguments) throws IOException { Str...

2 years ago

1 answers
144 views
0
How can I output data for a Java object that is not the same value as "SomeType@2f92e0f4"?

You have defined the following classes:public class Person { private String name; // // constructor and getter/setter omitted}Attempted to print an object for this Person class.System.out.println(myPe...

2 years ago

1 answers
67 views
0
Repeating statements do not properly delete items in the list.

The code below is a function anti_vowel that removes all vowel alphabets (aeiouAEIOU) from the string. I expected it to work properly, but if you give the sample value of Hey look Words! as an input v...

2 years ago

1 answers
72 views
0
When requesting with http post method, is there a specification defined for using not only the request body but also the query string?

POST /tokens?epoch=12345 HTTP/1.1Content-Type: application/x-www-form-urlencoded; charset=utf-8Host: example.comConnection: closeContent-Length: 11epoch=54321If you have HTTP POST reqeust like above W...

2 years ago
« - 5 - »

© 2024 OneMinuteCode. All rights reserved.