Skip to main content
Filter by
Sorted by
Tagged with
1 vote
1 answer
70 views

The following function works well counting instances of a substring within text in a single cell. =(len(A1)-len(substitute(A1;A2;"")))/len(A2) I am looking to extend its capabilities to ...
Karl's user avatar
  • 11
0 votes
0 answers
128 views

A String Search algorithm I wrote is performing incredibly well in my own test, but I'd like to test it more rigorously to know how well it objectively performs. Anyone know of a resource I can use to ...
Menachem Kalmenson's user avatar
0 votes
3 answers
1k views

I have a list which contains elements of strings. I am trying to capture the elements if it has specific substring into another variable by removing it in the original list. Org_list = ["I am ...
Sujith Voona's user avatar
-2 votes
1 answer
65 views

So basically as in the title. Here is what I am trying to do: 3 24 function RepeatedChar (l: char; s: string): boolean; 25 var 26 c, ordl, ords: integer; {counter} 27 begin 28 c := 0; 29 ...
Rookie's user avatar
  • 3
1 vote
2 answers
54 views

The task I am trying to perform is: e.g. I have a string "Simultaneously", I would like to perform a search of this string with dynamic lengths against strings in a file (contains some ...
indigo's user avatar
  • 23
0 votes
2 answers
623 views

I have to create a utility that searches through 40 to 60 GiB of text files as quick as possible. Each file has around 50 MB of data that consists of log lines (about 630.000 lines per file). A NOSQL ...
user avatar
0 votes
1 answer
210 views

This is trying to hide a checkout payment option from appearing when specific items are in cart (shown on the same page). If the text "BULK" appears in the cart/page to hide a list option ...
Paul C.'s user avatar
0 votes
3 answers
865 views

Consider the following program: #include <string> #include <iostream> int main() { std::string token {"abc"}; const char* option_name_valid_chars = "...
einpoklum's user avatar
  • 137k
1 vote
0 answers
141 views

I am having a hard time understanding the Rabin-Karp algorithm with modulo arithmetic. My questions. Why we use modulus to determine the hash of the string being analyzed? How to determine the ...
shehan chanuka's user avatar
0 votes
0 answers
471 views

Hi I wanna search a string in a large text and return the paragraph which involve the string. (In Python) Here is the example of the data that need to be searched: https://raw.githubusercontent.com/...
Sarnia's user avatar
  • 1
0 votes
2 answers
94 views

Attempting to diagnose this output from a script I have to debug. make[1]: Entering directory '/home/dwulf/sifchain/sifchain-validators' /bin/sh: 1: Syntax error: Unterminated quoted string make[1]: **...
dwulf's user avatar
  • 3
2 votes
1 answer
443 views

I have a hardware CRC32 peripheral on a MCU that I would like to use to speed up string search. Normally this is done with one of the rolling hash functions described here https://en.wikipedia.org/...
MFlamer's user avatar
  • 2,458
0 votes
1 answer
187 views

I am working on a project to automate the code review process for a team of engineers. Basically, what happens is every time an engineer makes a change to a file, before those changes are pushed to ...
xinianyuh's user avatar
0 votes
0 answers
55 views

i read multiple discussions similar to my issue but i can't find a working solution! I have a txt file make like that: blah L1 blah **ON** ...(uninteresting) ...(uninteresting) conf1 ...(...
Gipsy's user avatar
  • 81
2 votes
1 answer
564 views

I have a DataTable like this: column1 column2 ----------- ---------- 1 abc d Alpha 2 ab Gamma 3 abc de Harry 4 xyz Peter I want to check if a substring of a string ...
Scorpion's user avatar
1 vote
0 answers
162 views

Imagine the problem of finding if one string "STR1" is a rotated version of another string "STR2". This problem is simple and just requires searching for either string in the other ...
teleni's user avatar
  • 13
-1 votes
1 answer
108 views

I've just started php and I can't find an easy way to compare to a variable each first word of a line of a text file in a format("userid firstname lastname password").
Ryan's user avatar
  • 29
1 vote
1 answer
588 views

I have a highly branched folder structure as shown below. I want to match a barcode, which is nested between other descriptors and open/read a file of interest in that barcode's folder. The contents ...
SMadden's user avatar
  • 49
0 votes
2 answers
106 views

Hi i need to make a project for school where people can insert a review but before the review is posted on twitter it is going to be placed in a database. before it is going to be posted in twitter a ...
user avatar
-1 votes
3 answers
1k views

The string looks like this like something along the lines of 3*2.2or 6+3.1*3.21 or (1+2)*3,1+(1.22+3) or 0.1+1+2.2423+2.1 it can vary a bit. I have to find the amount of decimal places in the number ...
Sofia's user avatar
  • 147
1 vote
1 answer
69 views

I have a list of text files (list_4), of the format cv1.txt, cv2.txt, cv3.txt etc, up to cv20.txt. I want to use a for loop to open and read these files indivdually and convert them into strings. This ...
AndrewLittle1's user avatar
5 votes
1 answer
178 views

I have a list of CPU models. Right now, I think the most suitable approach would be forming a trie from the list, like this: Intel -- Core -- i -- 3 | | |- 5 | | |- 7 ...
Rafael Sofi-zada's user avatar
1 vote
1 answer
187 views

I have a text of the Word document and an array of the strings. The goal is to find all occurrences for those strings in the document's text. I tried to use Aho-Corasick string matching in C# ...
alex.z's user avatar
  • 35
0 votes
0 answers
292 views

I'm trying to use the Horspool algorithm to list all instances of a pattern in a string. My string is very long, north of 3 million characters. On windows, my code only finds the first ~230 instances ...
Sri's user avatar
  • 2,338
-3 votes
2 answers
931 views

I have to search a string in an array from the user input, but I have an error in my logic. Even when the user input is in the array I still get "data not found" I also have to display the index ...
hooman's user avatar
  • 23

1
2 3 4 5 6