Questions tagged as 'split'

2
answers

How to perform a split in SQL server 2008 r2?

Hi, I wanted to know if it is possible to carry out a split as shown below, since I need to receive a string of words separated by commas; So far I have not been served by the methods I have seen on the internet. SELECT * FROM BASE WHERE Doc i...
asked by 24.11.2016 / 16:00
1
answer

How can I do a split of = in Java [closed]

I need to split from a given string according to a series of comparison symbols. I am using this sentence: String[] partes = condicion.toString().split("<|>|=|<=|>=|or|and|not"); The problem is that with <, > = or an...
asked by 21.06.2018 / 11:24
2
answers

How to nest splits in Python?

Following this question , I began to think, that it is a fairly common pattern, to interpret a string with "pairs" of values separated by some character, and how to solve it in Python ?. Let's see the example: We have this string: texto =...
asked by 07.09.2017 / 19:09
1
answer

Join split mutiples in a single variable

I'm trying to create a split of several variables var x = canales.split(',') output: (2) ["especialista", "propio"] but I've tried to add more data to that same split, and try to use: globArr = [] var x = canales.split(',') var y...
asked by 18.12.2018 / 23:59
1
answer

Split into two a list from a point or character - Prolog?

I want to develop the following exercise in Prolog . I have a list Lista = [a,b,c,d,f,g,h,i] and I want to split it in two when I find for example the character ' d ' so the result would be the same: L1 = [a,b,c] L2 = [f,g,h,i] I a...
asked by 07.10.2017 / 16:13
1
answer

How can you separate a String in java without using a delimiter

From a String 2654993672 , what I want is to separate it into two parts. String part1 = "26"; String part2 = "54993672"; With the split () method I can separate them with a delimiter ... String[] parts = string.split("-"); String part1 =...
asked by 04.12.2018 / 20:09
1
answer

How to use split ()?

I have a .txt file that is read from which I need to take apart in several words PRU.U, PRU.D, EJEM.T, EJEM.C For example that pru is equal to prueba and that u is uno And so on each one with their respective w...
asked by 30.11.2018 / 06:10
0
answers

How to use SPLIT in a binary tree data structure to separate a txt file

I need to create a binary tree in java that reads a txt text externally and that each word stores it in a node so that when I want to search for that data, I'll do it all in automatic.     
asked by 07.12.2018 / 17:38
1
answer

separate chain for a spinner

I want to separate this string for a spinner. Here I receive my JSON I go through it to only get what I want. JSONObject jsonObject= new JSONObject(responseStrBuilder.toString()); JSONArray jsonArray = jsonObject.getJSONArray("payment_metho...
asked by 24.07.2018 / 18:17
1
answer

Read file by blocks How to optimize it? see the end of the post

Good morning dear community. I am a platform application development student and I have encountered a problem in class that brings me some headaches, to see if someone can help me or give me a clue. I have the following file (sudokus.txt):...
asked by 28.02.2018 / 03:30