Top "String-parsing" questions

The action of retrieving data from a string

Equivalent for pop on strings

Given a very large string. I would like to process parts of the string in a loop like this: large_…

python string string-parsing
Remove blank lines in a text file

How can you remove blank lines from a text file in C#?

c# .net string string-parsing
Code to parse user agent string?

As strange as I find this, I have not been able to find a good PHP function anywhere which will …

php parsing user-agent string-parsing
javascript, regex parse string content in curly brackets

i am new to regex. I am trying to parse all contents inside curly brackets in a string. I looked …

javascript regex string-parsing
How to display returned JSON from a jQuery .ajax post

Starting to work on a project that is built completely on JSON data. It is returned like this: {"location":{"id":10,"…

jquery json parsing string-parsing
Remove all hex characters from string in Python

Although there are similar questions, I can't seem to find a working solution for my case: I'm encountering some annoying …

python python-2.7 utf-8 character-encoding string-parsing
How to read formatted data in C++?

I have formatted data like the following: Words 5 AnotherWord 4 SomeWord 6 It's in a text file and I'm using ifstream to …

c++ string iostream ifstream string-parsing
Parse string in javascript

How can I parse this string on a javascript, var string = "http://www.facebook.com/photo.php?fbid=322916384419110&set=…

javascript string parsing text-parsing string-parsing
How to get the name of the parent folder of a file specified by its full path?

In Matlab, I have a string containing a path to a file: path = 'C:/Data/Matlab/Dir/file.m' I …

matlab string-parsing
In JavaScript / jQuery what is the best way to convert a number with a comma into an integer?

I want to convert the string "15,678" into a value 15678. Methods parseInt() and parseFloat() are both returning 15 for "15,678." Is there an …

javascript jquery string-parsing