Skip to main content
1 vote
1 answer
74 views

How can I handle string values that contain patterns like xxxE205 (e.g., 2004E205), which are used as unique codes in my company? I explicitly read the column as a string in pandas, but values ...
Ethan MK's user avatar
0 votes
0 answers
30 views

I’m learning Java and testing basic input handling. I wrote the following simple program: import java.util.Scanner; public class Main { public static void main(String[] args) { Scanner ...
Burak HINGE's user avatar
2 votes
3 answers
164 views

I implemented std::hash<std::string> in the usual way, by specializing the std::hash template. But then I realized that these should already be provided by the <string> header (https://www....
luczzz's user avatar
  • 446
-2 votes
1 answer
169 views

I have to create a dictionary, where the keys are letters of the alphabet, and the values are the indexed letters of a given string. Example: Given the string "BDFHJLCPRTXVZNYEIWGAKMUSQO" ...
Shadow0013's user avatar
Advice
0 votes
3 replies
43 views

I'm not yet very familiar with the patterns in Lua's string.gsub function. If I have a string like this: Fishing Lure(+100 Fishing Skill)(1 hour) and I want extract only the string "1 hour"...
user3204810's user avatar
0 votes
0 answers
44 views

I'm using java spring boot and jsoup and recently I upgraded jsoup version to 1.21.1. My code creates search query and searches for it in the document Elements targetElements = document.select(...
user613's user avatar
  • 243
-1 votes
0 answers
55 views

If a list of multiple dataframes (ListA), I can write an excel file doing the following: - write_xlsx(ListA, "Results_Up_Until_20_10_25.xlsx") The problem with this that the date will change,...
Slayer25's user avatar
-3 votes
0 answers
77 views

Okay, so I'm supposed to send Marty McFly back to the future, right? But it has to be on certain dates, using this function: function backToTheFuture(str) Here's my code: function backToTheFuture(str) ...
AirenMarie's user avatar
0 votes
0 answers
47 views

I am trying to use the pymer4 package in python for Multi-Level Models, and I have to pass an "R-style formula specifying the model". I understand that it looks like: target ~ varA + varB ...
n6r5's user avatar
  • 364
-1 votes
0 answers
55 views

We have an web application that integrates with a third-party service where the service will send a response after receiving a request that is created from our application. Currently we are ...
Melvin Mah's user avatar
Advice
1 vote
7 replies
99 views

I have array of strings $Emails = '[email protected]','[email protected]','[email protected]' This array can contain from 1 to unlimited numbers of elements. And I need to build a filter string from ...
Posix's user avatar
  • 23
3 votes
1 answer
93 views

Demo code: System.Console.WriteLine($"CDbl: {(CDbl("234.56"))} {(CDbl("234.56")).GetType} {(CDbl("234.56")).ToString("0.0")}") ...
kwc's user avatar
  • 339
0 votes
1 answer
88 views

The task Given the following string¹ one ' two 'three four the required function should split it in 3 tokens (one, two three, and four), in agreement with how the bash shell does: $ function ...
Enlico's user avatar
  • 30.2k
0 votes
1 answer
119 views

tl;dr Ideally, I'd want the following "hello world" is split in "hello" and " world" " world" is split in "" and " world" "hello "...
Enlico's user avatar
  • 30.2k
2 votes
1 answer
95 views

I am homebuilding a USB driver on STM32. I have managed to get the device to enumerate which is awesome, but only when I disable all the strings (set all ID's to 0). Right now, when I set ...
Eman's user avatar
  • 293

15 30 50 per page
1
2 3 4 5
12333