Questions tagged as 'parsear'

2
answers

How to parse correctly in C #

Searching for parse, I found the following: Int32.Parse(string); Convert.ToInt32(string); My query is as follows: What is the best way to parse, which is more effective and why. In which case a form is occupied, and in which case another...
asked by 12.04.2017 / 19:56
1
answer

Parse DATE with data from a JSON

How about today I had a problem with a parseo Date I'm bringing data from a service so far all good, well I have a field in which brings me a Date with the following format 2017-01-05 11:11:00 Now this value takes me e...
asked by 30.01.2017 / 20:26
2
answers

Get properties of a JSON

I have this JSON , and I want to analyze it in Android :    {"usd": {"code": "USD", "alphaCode": "USD", "numericCode": "840", " name ": "US Dollar", " rate ": 0.062953567779141," date ":" Sun, 4 Dec 2016 12:00:01 GMT "}," eur ": {" code "...
asked by 04.12.2016 / 17:24
1
answer

Get values of a string in c #

I'm trying to get the values of a string that contains a url with a QueryString . This is an example of the URL: string url = "http://example.com?id=gdjh48vnnnvwsid1dkif84ndn?id2=cjodfnuvbvmf47747"; How do you see it is a...
asked by 20.07.2016 / 09:41
1
answer

Parsing NLP with external list

Having an input text that will pass through the grammar and the output must be all the entries that the grammar finds in the text. The problem is that my non-terminals are external list files and I can not find a way to do it. Example of a p...
asked by 31.08.2017 / 17:22
0
answers

Parsear m3u php

I need a help, I'm parsing a M3U file, I found this file on the internet and it did you fine, but apart from taking the " Title " and "
asked by 06.04.2017 / 19:34
2
answers

how to interpret a string as a php variable

I intend to do this: echo $.'variable'; as a result of this: //Solicitamos a la BD todas las id de la tabla categorias $data = $this->Global_model->get_select_array('idcategoria', 'categoria_tmp', TRUE); //rastreamos to...
asked by 09.11.2017 / 21:50
2
answers

Parse variable String to variable Int in Java [duplicated]

I am practicing variable changes in Java using Eclipse and a little doubt has arisen. If I want to change a variable of type String to another variable of integer type (int), which of the two forms is correct or adequate for do it? int varia...
asked by 20.04.2018 / 03:10
4
answers

Checking a float through a String

I'm trying, without using try-catch (I'm not allowed in this case), to know if a String is susceptible to being parsed to double, but it does not accept values, such as 1.80. This is the method: private boolean alturaCorrecta() { boolean c...
asked by 28.11.2016 / 12:56
1
answer

pass a JsonArray to an ArryList

I have the following code: import java.io.BufferedReader; import java.io.InputStreamReader; import java.net.HttpURLConnection; import java.net.URL; import java.util.Iterator; import org.json.JSONArray; import org.json.JSONObject; public class...
asked by 06.10.2018 / 00:40