I have two text files: remove.txt collors.txt I want to remove the occurrences of remove.txt lines inside collors.txt and save it as output.txt ...
I have two text files: remove.txt collors.txt I want to remove the occurrences of remove.txt lines inside collors.txt and save it as output.txt ...
I want to compare two strings by character and then print how many times they have the same character in the same position. If I were to input 'soon' ...
I'm new to python and I am sure there's a better way to do this. For my specific issue I have stored an API key. I've given the user means to send an ...
I am trying to compare two "almost" identical strings in a shell script. They are similar except for one character (A-Z). In the example below I want ...
I'm trying to find specific substrings in certain columns of a datatable and I want to ignore case. I'm trying to use contains and StringCompare to ac ...
I am trying to arrive at a solution for a problem related to sorting. The input is a list of values where each value in list is a list containing two ...
For example: Now trying to compare with 'text_first_file', 'text_first_2023' or 'text11_first' Trying to use regex - but failing. UseCase: ...
I have a table catalog_product_entity_varchar and a column value. I tried comparing strings with SOUNDS LIKE. That works well most of the time, but no ...
I am writing a code that vaguely simulates a poker game, which at this point should output a "Players Hand", an "Opponents Hand" and a "Flop". Each c ...
I have two lists of small strings in no particular oder, the two lists have a large overlap, but each contain some unique entries. What's the simplest ...
I want to get the text of a displayed time on a website. The object looks like this <strong class="date-time ng-tns-c226-30 ng-star-inserted"> ...
Having this object: with these instances: and having an array of that object: var list = mutableListOf(data1, data2, data3, data3) my idea is t ...
i have two String list in java and i want to get common element of two list. I use the retainAll method but it doesn't work list1.retainAll(list0); ...
I tried as The result came as follows: But , I want to get the result should come as follows: ...
I am new on programming with c++ and currently trying to create a program to count the amount of each words from a string from .txt file. My Issue ri ...
I have got an assignment from uni which mentions that I have to compare a given set of passwords to the password given by the user. The set of passwor ...
I'm trying to compare two lists of strings and produce similarity metrics between both lists. The lists are of unequal length, one is roughly 50,000 t ...
I have an unordered_map which is supposed to mimic a filter, taking key and value as std::string_view respectively. Now say I want to compare two filt ...
In short I am getting different output for string comparison using string::compare() vs relational operator '<' on std::string class objects. He ...
I'm trying to write a Java code to check if password includes characters, numbers and special characters. Everything fine until the special characters ...