close
Skip to main content
The 2026 Annual Developer Survey is live— take the Survey today!

Question list filters

Filter by
Sorted by
Tagged with
Filter by Employee ID
Score of -1
1 answer
88 views

I have a string $sProducts = '2:1:-1:-1, 1:1:-1:-1, ..., n'; and an array $aCount => ( [0] => 2 [1] => 3 . . ...
Score of 1
1 answer
107 views

The following function is part of a macro written in PowerPoint VBA that searches all of the files in a folder doing a global search and replace. The function works on a series of test files which ...
Advice
0 votes
3 replies
62 views

I have a substr line which highlights a section of text using the instr command the resulting section of text is then output But in the selection of text I get '\n' (spaces in otherwords!), I want to ...
Score of 4
3 answers
218 views

I need to replace one of several strings, and I need to know which one was a successful replacement. The most common suggestion online is to compare the original and new string to see if they're ...
Score of 0
2 answers
94 views

I've got some text in a word document in a specific range object, and I'd like to remove any characters that are not underlined. I've tried two approaches, but they both seem to lead to different ...
Score of 3
1 answer
80 views

When typing the command : echo 'Hello;World' | tr ';' '\\ ' Output : 'Hello\World' Expected Output : 'Hello\ World' Is there a valid way to obtain the expected output ? Note that when using echo '...
Advice
2 votes
6 replies
84 views

I like powershell's features, but not a big fan of MS Powershell documentation and supplied examples. An internet searching for this kept coming up with how to remove when I wanted to replace empty ^$ ...
Score of 3
2 answers
141 views

My dataframe is called detections. One column is OBSERVER. That column contains the initials of 32 different people. Some of those observers are responsible for 1000+ observations (i.e. 1000+ lines ...
Score of 1
3 answers
236 views

I have some old data files with a large number of writing errors. An example is attached below, where some of the numbers in the .dat file are 9 digits or characters long rather than the expected 8. ...
Score of 3
1 answer
161 views

I have the following dataframe: df <- data.frame( Form=rep(c("Fast", "Medium", "Slow"), each = 3), Parameter =rep(c("Fmax", "TMAX", "B&...
Score of -1
1 answer
244 views

The R documentation for replace states: replace replaces the values in x with indices given in list by those given in values. If necessary, the values in values are recycled. Usage replace(x, list, ...
Score of 0
1 answer
203 views

I'm using Python with pywin32 to find and replace text in a Word document (a.docx). The code finds the target string "123", but when I save the document with the replaced strings to a new ...
Score of 0
1 answer
106 views

I am using Micropython on the ESP32. I have the following string, which includes the unicode character \xb0. a = 'abc\xb0def' First, I will need to change the notation to the \U00XX form, second I ...
Score of 0
2 answers
140 views

I'm working with a data frame where the color of an object (red or green) was recorded in ordinal classes corresponding to percent coverage. I am looking to replace all the classes with their ...
Score of -2
1 answer
146 views

I’m developing a Qur’an search application that allows users to search for Arabic words and find their occurrences across the Qur’an. To improve accuracy, I added a feature that removes Arabic ...

15 30 50 per page
1
2 3 4 5
2067