Member Avatar
Hi! I am writing my own string splitter and i'm stuck. When I'm trying to split the same string the second time im getting only the first word. Im using Visual Studio 2013. "Name|Phone Number|Account Number|Price|Tariff" Output is : Name Phone Number Account Number Price Tariff Name and my desired …
by you207 in Software Development ()
Member Avatar
!USING PYTHON 3.1! Hello DaniWeb! Today I'm going to teach you a cool variable trick that I learned. So here's an example: a, b, c = input('?x?x?: ').split('x') Now let's input something like: >>> a, b, c = input('?x?x?: ').split('x') ?x?x?: 1x2x3 Now, variable 'a' is set to 1, variable …
by AutoPython 5 in Software Development ()
Member Avatar
Hi all, I followed a tutorial on using the action bar and i face problem trying to split it. All my items just get fitted in to the overflow menu. Please help me with it. Below is my code: AndroidManifest.xml ... MainActivity.java ... main.xml ... Thanks Alot!!!!!!!
by cleve23 in Mobile Development ()
Member Avatar
Another little adventure into Go coding. This time a slice (a Go open ended array) of structures is used as a record for some data processing. For those who miss the ; at the end of a line of code, you can use them, but the lexer of the compiler …
by vegaseat 1,720 in Computer Science ()
Member Avatar
so i am trying to out put course information when the course number is selected. here is the html ... php ... data file ... my script(trying) ...
by chichi9 in Web Development ()
Member Avatar
Hi, I'm having SlimPDF which used to read PDF & I want to open SlimPDF inside of split panel but it is opening as new window. I tried to open notepad in split panel using my code but this SlimPDF is not opening inside the panel. Pls help me to …
by 2advance in Software Development ()
Member Avatar
This piece of code is far from perfect, but it works! It produces a list of substrings (consisting of digits and letters) and their delimiters. If it is practicaly a sin to manipulate the index of a for loop, then I'm a sinner. If two delimiters follow each other, an …
by ddanbe 2,364 in Software Development ()
Member Avatar
I have a motherboard that supports dual channel DDR2 667Mhz slots with support for up to 4GB. Will I have to put in 2 sticks with each running at about 667Mhz or will I have to have 2 sticks with each running at about 333Mhz to add up to that …
by NoCodeMonkey in Hardware ()
Member Avatar
Hi guys, im working on a bit of code which for 2 days is sending me around in circles :/ what i want to do is split an array into variables, so i can dynamically create a text box. i'm trying various methods but think im chasing my tail now. …
by Sammys.Man 27 in Web Development ()
Member Avatar
Im working on a code that loops through a folder break up the file names in it into specific parts and then reads off sertain parts of the broken name and writes it to a csv sile. The files ser formated as follows test_PAQT_B2H.csv, test_PAQT_B4.csv, and test_PINI_B1H.csv. when it jsut …
by abaddon2031 in Software Development ()
Member Avatar
Hello all, I am working through Beginning Microsoft Visual C# 2008 I was asked to create a console application that multiplies 4 input values. I decided to take all 4 values at once and multiply them. Here is my code: Is there an easier way to do the converts in …
by liamfriel 4 in Software Development ()
Member Avatar
I keep getting an error on the "out =" line, "TypeError: 'in ' requires string as left operand" error
by kxjakkk in Software Development ()
Member Avatar
In the last few days, I have noticed a very old thread ... resurrected ... about a non-standard C getline function. To all who may like a C readLine function ... a C function that reads in a dynamic C string of any length ... a function with a similar …
by David W 119 in Software Development ()
Member Avatar
Facing issue when splitting a image ,when image size is bigger,it split only part of tht image or i want that any size of image show properly according to div size after splitting.`Inline Code Example Here` <!doctype html> <html> <head> <meta charset="utf-8"> <title>jQuery PicStrips example</title> <!--<link href="http://www.jqueryscript.net/css/jquerysctipttop.css" rel="stylesheet" type="text/css">--> <script …
by neha05 in Web Development ()
Member Avatar
Hello, I have one big XML file (600 MB - 850 MB) in format "cells_yyyymmdd_hhmi.xml" I would like to specify that everyday i will have new file with new date. So, there should be general way to read it and cut it. For exmaple, i have file of 7th January. …
by PriteshP23 in Linux and Unix ()
Member Avatar
Am working on a project right now and almost stuck at a point. Say, I have a text document with contents like: Now I want abc , 123 . xyz ; praise ... in an array. I used split method with array of characters. Though I retrieved abc,123,xyz,praise,end,file,clear I couldn't …
by Riteman -4 in Software Development ()
Member Avatar
Am working on a project right now and almost stuck at a point. Say, I have a text document with contents like: Now I want abc , 123 . xyz ; praise ... in an array. I used split method with array of characters. Though I retrieved abc,123,xyz,praise,end,file,clear I couldn't …
by Riteman -4 in Software Development ()
Member Avatar
My eMachine Laptop screen is splitted into 2.. the other one half looks darker.
by gALENA in Hardware ()
Member Avatar
Hello, I am new to VBscripting and hope someone can help clarify the split options. I just started learning VBscrpiting a few weeks ago and Im trying to figure out how to do something. I haven't learned anything other than the basics so this question might seem super simple. If …
by overclocking in Software Development ()
Member Avatar
I have a csv file with lines like this example: I need to do a few things here - I need to remove any surrounding quotes from around fields; I also need to split the third field into two separate fields; lastly I need to change the field separator from …
by spowel4 in Software Development ()
Member Avatar
I'm trying to get the time from input of html txt_URL but the array returns nothing. Not sure where I went wrong. Any help is appreciated. Thanks! input: Deleting 11 files. Details: Time Deleted = 01:16:30, Time Left = 00:00:00, output: 01:16:30
by Jahliah in Software Development ()
Member Avatar
Sometimes we want to not split by every space character, but we want to split only on those outside of brackets and quotes. This way we can have for example quoted string as single argument for command. EDIT: Added hierarchical nesting of same kind of brackets. Bunching multiple separators as …
by pyTony 880 in Software Development ()
Member Avatar
hello. I need to dedupe e text. meaning if i have an array with stored strings, it will check and compare each row of array with each other to test if text[i]==text[i+1]. to dot this i thougt to catch the text from an input, ex:text are and consider it as …
by nstrazimiri in Web Development ()
Member Avatar
hi all, newbie wanna ask... if i have string sent from serial comm, lets say the string is like this : name1 name2 name3 how can i split that string into separate string, lets say i will put name1 into textbox1, name2 into textbox2, name3 into textbox3? thanks for the …
by sarman.boyslo in Software Development ()
Member Avatar
A function to take a text and extract the string between two given substrings. Allows you to find the nth occurence. Also safeguards against dead ends.
by vegaseat 1,720 in Software Development ()
Member Avatar
Hello guys I need a favor, I have array of data fetched form mysql db and contain 4 informationid - thumb - views - added by I want to display those arrays in 3 or 4 coloumn like picture gallery. I did it with only picture and its work but …
by OsaMasw 13 in Web Development ()
Member Avatar
Hi forum, I've got a question for the pros. I am making a program that has map<String, String> map = new TreeMap<String, String>(); and a Scanner to read a file contains some data which is assigned to map.put(); method. The data is something like this: UK USA Canada Australia etc. …
by dreamslct 13 in Software Development ()
Member Avatar
Hi, I am coding some python to work with some wireless serial devices. I have 2 devices reading temperatures and other environmental data over an Xbee which then writes the data over serial. The data looks like this when read in Hex:7e001090007d33a200408b2e0c2db7010016005763 The important character is the 7e at the …
by rev_ollie in Software Development ()
Member Avatar
Well, I have just made this funtion that will split an array using a delimiter. I'm new to C++ so I will take any suggestions you have. Anyhow, good luck! Enjoy!
by Echo89 9 in Software Development ()
Member Avatar
Hi there, how can I split a string into variables?? better: how can I put an incrasing variable (for n splitted words) instead of 'Console.WriteLine(word)' thanks
by naui95 in Software Development ()