Skip to main content
The 2026 Annual Developer Survey is live— take the Survey today!
Advice
0 votes
8 replies
277 views

I'm a begginer in C, but i want to find for a word or substring within a longer string #include <stdio.h> int main() { char string[] = "C is a programming language"; char word[...
user avatar
Score of -2
3 answers
181 views

When I run the following code, I'm receiving this output: PHP PHP What PHP What is PHP What is PHP However I want to receive the following output: PHP What is PHP PHP What is PHP What PHP What thing ...
Score of -4
1 answer
133 views

I have a table in oracle apex: CREATE TABLE Fundusze ( Id NUMBER(10) NOT NULL, Nazwa VARCHAR2(50) NOT NULL, Waluta VARCHAR2(50) NOT NULL, Typ VARCHAR2(50) NOT NULL, CONSTRAINT ...
Score of 1
1 answer
112 views

As I understand it, the substring function should be immutable. However, when I try to generate a column from the expression substring(enumColumn::TEXT from '-(.+)') I get a generation expression is ...
Score of 2
1 answer
210 views

I'm working on an Excel sheet where I have: A reference combination in cell S4, like 4,D,D,D,D,D,D,D A range of combinations in W3:AH6, where each cell contains a comma-separated string like 3,A,A,A,...
Score of 1
2 answers
154 views

I have a data frame with a column of street addresses, some of which include suite, apartment, floor, etc., which are not useful in retrieving the latitude and longitude of the address. I have ...
Score of 15
7 answers
1456 views

My dataframe has a bunch of columns, each with six characters. Like this: df = data.frame("A" = c("001000","101010","131313"),"B" = c("121212&...
Score of 0
3 answers
184 views

bool isSubsequence(char* s, char* t) { int len = 0; bool res = false; int k = 0; len = strlen(t); char str[len+1]; uint64_t z; for (uint64_t i = 0; i < pow(2, len)...
Score of -2
3 answers
183 views

In my Java program I have the two strings x and y. String y is a substring of x. It contains the same words in the same order as x, but the words are separated in different ways. String x contains &...
Score of -1
2 answers
134 views

I have a string like A18.30 and I want to compare if this falls under these 2 min and max values: A17.0 and A19.0. A18.30 => A17.0 between A19.0 [correct] P1A.5 => P1.0 between A2.0 [In-...
Score of 0
2 answers
106 views

I wish to remove a leading substring from a string. I tried to use LTRIM function, but it returned a bad result. In detail SELECT LTRIM(' AND DAT_MOD = ...', ' AND ') FROM DUAL; returned T_MOD = ... ...
Score of 2
2 answers
394 views

There was a question asked here with the same title, but I don't understand what it was talking about. All I'm trying to do is see if the end-user is putting in vaguelly the same text. This will also ...
Score of -4
1 answer
135 views

I have the following python code using regex that finds the substrings "¬[", "[", "¬(", "(", ")", "]" and get their positions (I transformed ...
Score of 0
1 answer
46 views

Consider the logging call below: logger.debug("Neither {} nor {} in {}", pattern1, pattern2, sql.substring(0, idx)); The intent is to cite only ...
Score of 1
1 answer
65 views

I have a dataframe column which is comprised of strings. I also have a list of substrings. For every substring, I want to test it against each string in the dataframe column, returning True if the ...

15 30 50 per page
1
2 3 4 5
650