99 Topics
|
|
[B]hello ! my thesis is all about language translation and im having a problem with the concatenation of strings in the textbox...because for example i input city kiss and it will display the ilocano(dialect) ili agek but when i input kiss city it still display ili agek[/B] |
|
Hello. I am wondering how to split a string lets say char *a="raining apples training away" using a delimiter like "g a" and the result will be: rainin pples trainin way I tried using strstr but I got stuck. Any hints will be greatly appreciated. Thank you in advance! |
|
Hello everybody, i need help from you guys.. I want to split text line into 2-3 lines and put it on image using GD. I know how to write text on image with GD, but i don't know how to split text to get the last line.. Here is what … |
|
I have a problem on passing value from Main Form to 2nd Form. Actually, I have a [B]2nd Form[/B] on the [B]SplitContainer[/B] and the [B]SplitContainer[/B] is placed [B]inside the Main form[/B]. What I want to do is [COLOR="green"][B]Click the Button on the 2nd Form from the Main Form.[/B][/COLOR] Thanks in … |
|
i have a very long string like this: [ICODE]TGTGCAACGTATATTCCAACGAAAAACCTGGAGAAGAAAAGAATAAGTAAAATGAACTAGAGGCTGATGGCACAGTAAACACAAATGCCTGAAGTCAAAATACATTCTTTATAAGCCCAAAGCG[/ICODE] i want to convert it into array but i wanna split it by length of 5 array elements: [ICODE]array[0] = "TGTGC"; array[1] = "AACGT"; ..... array[n] = "AAGCG";[/ICODE] any idea? plz....... help thanks :) |
|
Hi all, As im new to Xml... what i want to do is.... I have a Large Xml File .. and i want to split the that xml file and Parse the xml in vb.net Can any one plz suggest me how can i do this..... Thank's in Advance Syed … |
|
Dear all, I need your help :) i have array like this--> $myarray([0]=>a,1 [1]=>b,2 [2]=>a,2 ) i want to split each of the array element, i want to retrieve the part a and b of each array elemet and (maybe) store it in different array like this: $myarray1([0]=>a [1]=>b ) … |
|
I'm relatively new to VBA, and I'm trying to automate some macros for a datasheet. I need it to look at the value known as rackRack.Text (I know, not the best var name) and split it. The original value would look like: "B-04". I want it to split and select … |
|
Hi Am new to this and was wondering if anyone knew a solution to this problem. I am wanting to get information from a text file into different arrays. My current text file has a new line for each driver but I would like it to look something like this: … |
|
Hello, I looking for a piece of code to chop a string into a array with 2 or more delimiters example: this is the text and I want to chop [!FIRST!] here and a bit later [!LAST!] here and if its posible (its not required) [!OPTIONAL!] chop it here and … |
|
Hello! I'm working on VBA within MS Access XP, and can't seem to get the proper usage of the split function down. I've been trying to make this work, but I keep getting the "Run-time error '9': Subscript out of range" error. Since the code of my project is kind … |
|
Hi. I am new to VB (and coding in general) and I'm wanting to make a check digit generator. To do this I need to take the a user text input and split it into individual digits so that I can then calculate the check digit. I'm just not sure … |
|
Can someone show me a sample code in c which can read in a user inputted sentence/line and then split that line down by white spaces into separate words please? I shall worship you as my new God if someone out there can just show me a sample solution. |
|
Hi all, How i can split a string that include spaces by "&" ? I already used split function but there are problem with spaces. thanks. |
|
PLease help me !! how can i uppercase the half only of the string and the half is in lower case?? |
|
Hello all I am using reading a config file in which there is a entry [CODE]code_list="515,522,560,000" [/CODE] while i am reading this string in my java application and using split on it and then assigning it to a string[].it is giving null pointer exception.needed code is as follows [CODE] static … |
|
Hello all, I am retrieving data from servlet to midlet. Now coming data is whole string. but now I want to chop it into different words. here my code is : [CODE] HttpConnection conn = (HttpConnection) Connector.open(url); StringBuffer sb = new StringBuffer(); conn.setRequestMethod(HttpConnection.GET); conn.setRequestProperty("Content-Type", "Application/x-urlformencoded"); InputStream is = conn.openInputStream(); byte[] … |
|
I want to outpout part of a richtextbox content to a textbox. Exemple (This is just part of the richboxtext1: [CODE]<meta http-equiv="refresh" content="0;url=?sid=defd7592f5b806ad8a4fa1273bd73077"> <[/CODE] This is code i used but is faulty :( : [CODE]Dim strBuild As String = Nothing strBuild = Split(Split(RichTextBox1.Text, "sid=")(1), "''>")(0) TextBox6.Text = strBuild[/CODE] I want … |
|
I am trying to split a file into 2 parts. File format is following: filename_status_date.filetype and the files are: apple_india_20110218091255.txt apple_india_20110221112444.txt apple_india_20110301112444.txt I need to split so that first part carries "apple_india" and second part carries the "20110301112444.txt". I tried the following: [CODE] my ($fruit,$end)=split(/\_/); [/CODE] But that splits the … |
|
I am using getline to read a CSV file. The line it reads looks something like "1/24/2010 6:19 1/24/2010 6:59 Merrill - Valley Farms yhy 69 Vegetation 55" The getline works but, I need to be able to calculate time days between a date the user inputs and the date … |
|
[CODE]#!/usr/local/bin/perl $file = 'C:\Users\asdds\test1.log'; open(INFO, $file); @lines = <INFO>; foreach $data (@lines) { chomp($data); (@x,@y)=split( ,$data); print "@x[0]\n"; print "@y[0]\n"; } $length_ice = length (@x[0]); print "Content-type: text/html\n\n"; print "<html><head>\n"; print "<title>Server Log File Information</title>\n"; print "</head>\n"; print "<body> Length of Total number of entries: $length_ice\n"; close(INFO);[/CODE] i want to … |
|
I'm using VBA to query and modify an Excel database. The database contains information about servers and their locations. Most of the rack mount servers have the location column as something like "G-05". Those are easy. When it comes to the blade servers, the locations are listed as "G-05E2S09" or … |
|
I have string like: 'par1=val1,par2=val2,par3="some text, again some text, again some text",par4="some text",par5=val5' I have to split it to parts like: par1=val1 par2=val2 par3="some text, again some text, again some text" par4="some text" par5=val5' I use this code: [CODE] a = 'par1=val1,par2=val2,par3="some text1, again some text2, again some text3",par4="some text",par5=val5'.split(',') … |
|
|
First of all, sorry for my bad english, that doesn't make any sence at all. So, please correct me. I made a programm to use SendKeys, but I want a delay between the word. I was able to split the string in words, but I wasn't be able to send … |
Hey guys, in my programming assignment I need to split the mantissa and exponent and add them to two separate variables. so £1.88 would be [CODE] double amount = 1.88; //then after the conversion mantissa = 1; exponent = 88; [/CODE] I've looked at this a lot over the web, … |
|
Hey guys, I have a problem, I have to take a text and depending if a boolean - split_words is true or false I have to parse the text on some lines splitting the words or leaving them whole. for example, text is: This is the text I have to … |
|
Hi, [CODE]string[] SplitEquationText = EquationBox.Text.Split('');[/CODE] in that line of code, it will not let me split nothing? am i allowed to split nothing? thank you. |
|
hello, i want to be able to split this string: "StraightPath1, 1, 2" into 3 sections: name, x, y. but when i use this code:[CODE]string[] pieces = line.Split(',')[/CODE] it only i can only read the last 2 parts like this: [CODE] string Name = pieces[0]; //output: null int X = … |
|
This handy function turns file into stream of words stripped of punctuation, whitespace and digits, but does not split for example we'd to two words. If you want that you can further process yielded words or change the definition. |
|
Two litle functions to help on text slice and spliting. The code comments say it all. [CODE]# Slicer takes as arguments a tuple containing the string before, # the string after and the string to truncate. It returns the string # between the two given strings Slicer = lambda((b, a, … |
The End.