Top "String-parsing" questions

The action of retrieving data from a string

Check if dictionary contains substring?

Say I have two dictionaries with the following key value pairs: 1, "Hello" 2, "Example" And another dictionary as follows: 1, "HelloWorld" 2, "Example2" …

c# string dictionary string-parsing
No Member named stoi in namespace std

I am testing out std::stoi function found in the link below: http://en.cppreference.com/w/cpp/string/basic_…

c++ string parsing compiler-errors string-parsing
Does OCaml have String.split function like Python?

I am using this to split strings: let split = Str.split (Str.regexp_string " ") in let tokens = split instr in .... …

split ocaml string-parsing
C# - How to parse text file (space delimited numbers)?

Given a data file delimited by space, 10 10 10 10 222 331 2 3 3 4 45 4 2 2 4 How to read this file and load into an Array Thank you

c# .net file string string-parsing
Perl/regex to remove first 3 lines and last 3 lines of a string

I was looking to build a regex statement to always remove the first 3 lines of the string, and last 3 lines …

regex perl string-parsing
HEX to HSL convert javascript

Hello I'm trying to create HEX to HSL converter function. I know that at first I should convert HEX to …

javascript colors string-parsing hsl
Documentum DQL: How can I get UTC time zone for Date columns to parse to .NET?

Documentum (DQL via DFC) always returns Date result columns as a string formatted like this: Wed Oct 19 16:01:59 PDT 2011 ...and the .…

datetime timezone string-parsing documentum documentum-dfc
How to parse a byte string in Python 3?

Basically, I have two bytestrings in a single line like this: b'\xe0\xa6\xb8\xe0\xa6\x96 - \xe0\…

python python-3.5 string-parsing python-unicode
Reading two inputs from the user

I would like to get the user enters two different values using only ONE statement of Console.ReadLine(). More specifically, …

c# .net string console string-parsing
sscanf equivalent in Java

Possible Duplicate: what is the Java equivalent of sscanf for parsing values from a string using a known pattern? I'm …

java string-parsing scanf