сравнение

How to compare strings ignoring diacritics?

The user enters the string Arke. I need to compare it with the string Arkè, so that they are equal. The word Arkè with a diacritic mark is just an example. we need a solution that will work with such diacritics.

How do I compare two tables by article?

There are two Google tables, with different number of rows and different sorting in each table there is a column "Article". You need to extract only those lines that match the Article and present them in this form for price comparison:

Comparing c++arrays

I did not find such a question on the forum. You need to compare two arrays of characters and determine whether one string is ... t; endl; for(int i = 0; i < _size; ++i) for(int j = 0; j<_size; j++) if(tab[i] == tab1[j]) }

Compare dates

How correct is it to compare dates in this way? $today = date('Y-m-d'); $outdate = "2011-11-02"; if($today >= $outdate) ... into different timestamps, but it looks like now, if you set the date in this format. everything should be OK, shouldn't it?

How can I compare very large integers written in a file in Free Pascal?

How can I compare very large integers written in a file in Free Pascal? Let's say we have some number of numbers written to t ... Dec(j); Dec(i) End; End Else a := 0; If a = 1 Then Begin x := z+1; z := y End;

How to compare strings in Java?

In my program, I used the == operator to compare strings. But I came across a bug, and when replacing == with equals, it disappeared. Should the == operator be avoided? When can it be used and when not? What's the difference?

Checking for the presence of an element on the page, jQuery

In the process of executing the function, a button is created as follows: $('#score').append('<input id="newTry" type="bu ... button, it is not created again at this point of execution. How can I check for the presence of such an element on the page?

How to split a String into separate words in Java?

Hello everyone! I have such a task, it is necessary to divide a string into words, write it to an array and then compare each ... (i = 0; i < s.length; i++) { if (s[i].equals(s[i + 1])) { System.out.println(s[i]); } } }

PHP Time Comparison (H:m)

The database stores data about the company's working hours in the format: 09:00,18:30; 12:00,02:00 It is necessary to compare ... ked for options, found a lot of questions about this, but I did not find the answer. How can this issue be resolved? Thanks.

List-by-list and Python comparison

There is such a problem at the output of the function outputs the result. You need to filter the results somehow, you need to ... 3], [4, 8, 6], [2, 5, 7, 8], [1, 5, 7, 8], [6, 3, 7, 8], [4, 6, 8], [3, 7, 4], [1, 5, 6, 7, 4], [2, 8, 1, 6, 4], [8, 6, 4]]

C++ How do I compare two char arrays?

You need to enter a group. Next, iterate through the structure, find an entry with a matching group, and output it. struct ... "FALSE"); Returns "TRUE". If you use strcmp: strcmp(mas_Z[i].n_group, kodG); Returns 0. This is a positive test result

2-list comparison function in Haskell

The work forced me to study Haskell. Faced with the need to write a function, the input of which is served two lists. It comp ... must be in the same order. I sit thinking how to do it. The elem function comes to mind. but I don't know how to attribute it