o
k
q
u
e
s
t
i
o
n
s
.
c
o
m

About Comparing String -

When I comparing string for match or unmatch, how do I know where/ it's unmatch
for example when I compare "ABDD" and "ABCD" the function will reply character number 3 is unmatch
I have to compare about 100.000 characters, so compare each character isn't a good idea
and about 10% are unmatch

Thanks

 

Comparing strings. -
Hi, need help on comparing strings. Is there any way to compare two strings such that String 1 can remove data in String 1 that already existed in String 2?


Comparing Alpha Numeric Strings -
Hello, I am trying to use VB6 to compare 2 strings character by character and writing to a list so that they are inserted at the correct position in the list Ascendingly. Firstly i am suppose to first check the string if its numeric, if it is then i skip the process of co


args[0] == "literal" -
I'm taking arguments from the command line, and I'm comparing them in if else statments to find certain arguments. Example: java myProg -arg1 subArg then I'll have for (int i=0; i<args.length; i+=2) { if (args[i] == "-arg1") { do something } else if (... else { defual


About Comparing String -
When I comparing string for match or unmatch, how do I know where/ it's unmatch for example when I compare "ABDD" and "ABCD" the function will reply character number 3 is unmatch I have to compare about 100.000 characters, so compare each character isn't a good id


comparing recordsets -
Hi Folks, i have a small problem comparing two recordsets. Well maybe i should start to explain from the beginning. I have two Access Databases with the exact same Table and Fieldstructures. Next I fill two recordsets with a statement like SELECT * FROM mytable where Field = Opt


comparing document -
hi. i am comparing two word documents and saving compared document in a new location. i have to get the inserted texts and deleted text. if the problem description is not clear plz query me.


Comparing Lists *** Resolved *** -
Lo, I have two lists, one containing numbers selected by a user between 1 and 49 and the other containing numbers that have been randomly generated that occur over 50 times. I need to somehow comparing them to find a match e.g User List 45


Comparing the head of a string to a value [VC++6] -
I have a string (std::string code) that is a sequence of digits of various different lenghts and I need to perform different operations based on the head/begining of the string code. Specifically something like the following pseudo-code... Code: std::string code = some number;


i know len() will do it...but how do you.. -
i have five strings, eg: and i assign the lengths to a string array, eg: tmp(0) = len(string1) tmp(1) = len(string2) ... ... tmp(4) = len(string5) is there an easier (hah!) way to find the longest string other than comparing it to each other many times? thanks f


c++ program trouble with SWAP function -
/************************************************************************************************** * * File name :lab11_driver.cpp * * This program is going to take two strings (one using the c-strin class and one using a string class * and compare the two outputing if


Comparing images. -
How can I compare two images and get a rectangle out of it that contains all the altered areas. I know this can be done by comparing it pixel by pixel, if they are different, their position is noted. The 4 sides of the rectagle can then easily be found. This works but it is running


comparing strings[resolved] -
When comparing strings, in an "if" statement, is there a way to make it not case sensitive? -tony


Comparing strings (same length) -
How can I compare 2 strings with a fixed length? string #1 is "bla bla bla" string #2 is "bla bla bla\bla" ^.........^ <- needs to be checked and should be ok. string #1 is "bla bla blaa" string #2 is "bla bla bla\bla"


comparing a value of one file. with value user types in -
As a user signs in. I write that information to a file. I then want to take that name and compare it with the user that have access to the program. How can I do this? I am just learn. I am having trouble comparing the names. and sending back an ok. Please help. Rasnic


[2005] Comparing and highlighting richtextbox -
Hi, I'm trying to compare two richtextbox and both with the following format and same length: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 I wrote the code below and for the comparison it works as fast as needed but when i try to highlight al


Comparing versions -
does anyone know if theres a way to do a compare of VC++ code? I have two versions of source code here and I wish to see the changes made in both by comparing them.... is there an easy way of doing this?


String to MD5 -
I was reading about md5 coversion and it seems i hahve ran into a problem. I have a database with user information etc. and the password field are md5 strings that where md5 in PHP and i am havivng trouble comparing the database string to a vb generated one. any ideas?


Text Compare -
Dear All, I found the attached text compare project from some other site. It is comparing word by word. I want all the option avalible in this as it is.But the comparing should be faster.How can I do that. Thanks In Advance.


comparing number with a list of numbers -
i have 47 values in numbers. say 1...47. and i have "a" = 14.5 (say) how do i write a code for comparing that 14.5 lies between 14 and 15 from the 1...47 numbers given. how do i first declare the 47 numbers. and then how do i proceed kindly help cheers


Comparing an Integer in a String -
I know this is going to seem like an easy question, but I can't find the right syntax to handle it! I have a string... mystring = 10,11,12 and I am looping through a set of numbers i = 1-20 In the loop I compare i to mystring, and if the number in mystring is equal to i the


Remote Desktop Sharing....Comparing Portions of Screen -
This has been a slow work in progress, with posts for this question dating back to over a year ago. I would like some help in figuring out a way to comparing two capture desktop images, and then only send the portions that have changed. By doing this, I would optimize my Program Ex


[2005] comparing rows in a dataset to a datatable -
Hello, I would like to compare a dataset and a datatable. Let's call it a and b. A will come directly from the database while b will come from an excel file. (I already have that part done.) I need help in comparing the values in b to a. If it already exists in a, i want to add i


[2005] Comparing a dataset and datatable -
Hello, I would like to compare a dataset and a datatable. Let's call it a and b. A will come directly from the database while b will come from an excel file. (I already have that part done.) I need help in comparing the values in b to a. If it already exists in a, i want to ad


Memory Allocation -
I know that this is a strange question since most programmers try to use as little system memory as possible, but is it possible to allocate MORE memory for your program? Here's my dilemma. I'm comparing two sets of records. One set is from a SQL database and the other is from a c


[2005] String match -
The format string that I’m comparing to is defined with “n” for a number “s” for alpha and “/” precedes a literal. In other words, if I wanted to see if the serial number “SN-12345” was in the correct format, the format string that it would match would be “ss/-nnnn


Comparing 2 strings -
I have 2 strings containing elements. Iwant to compare them and remove any items from the first one that are already in the second string. I then want to add the items of the first string into a listview. Can anyone please give me the code for this?


strip quotations from string -
I am pulling a strings out of a comma delimited file. Some of the text contains quotations and when I pull it in its puling in the quotations which is stopping me from comparing to other data. Does anyone know a way to strip off the quotes or the first and last letter in a string? I


[02/03] Need help comparing picturebox length -
I'm trying to test some different types of collision detection. I've come across a problem when I try to do things with picture boxes. I want to make it so the two floating picture boxes collide with eachother and bounce away at pre-determined angles. The problem I'm having is that


comparing image -
hihi.. firstly, i no knowledge about this ActiveX stuff..but i heard about its great use of it. thus i am wondering is there any ActiveX or Com which i can use it to compare image's pixel? or anything ActiveX could help me to sloved the comparing of images. problem: i need to co


Instr Wildcard -RESOLVED -
Hello guys, I'm trying to find out if theres any way to use a wildcard in the instr function. Or comparing any two strings in anyway really. Say for instance I wanted to parse a log file that would have a line in it like (this is totally made up out of my head btw hehe) Susan told


Office VB: Howto compare w/o case comparing letter case -
In Office VB script (EXCEL): Say a cell contains "jello" MyString = "Jello" If MyString = ActiveCell.value Then Whatever That will fail becase of the capital "J". So, how do I make an If then statment to compare a variable to a cell without co


looping pain! -
your result, iresult is dimmed as a string and you are comparing it to a number... try val(iresult) = a(1) ..etc. vb somtimes correctly compares string numbers and numbers but it's good practice to make sure. Hope this helps.


comparing a string to a list -
Hi, I need to see if a string is already in a list, how would I do this? thanks VP


Comparing DateTimes, need help -
I would like to compare 2 datetimes; datetime are in format MM/dd/yyyy HH:mm:ss. DateTimes should be compared to minutes, excluding seconds. E.g. 07/05/2006 09:30:30 and 07/05/2006 09:30:45, in this case dates are the same and times too (because I have excluded seconds in the compa


Problem with my language, if statment comparing numbers to strings -
ok, ive been writing a small programming language (bfpl) for a few weeks now, and ive run into a pretty big problem which i cant seem to figure out. basically, where the problem was noticed, was i wrote a program (in bfpl) to add 1 to a variable and loop over and over again until the v


Comparing datas from database -
Hello sir, I am using MS-Access I am having two recordset in which datas to be compared. First Recordset name : racing Fields name: no1,name1 Second Recordset name : sporting Fields name: no2,name2 From these two tables datas to be compared. (ie) name1 and name2 are eq


Type Mismatch in .exe when comparing strings -
Everyone, I have written a executable that opens a spreadsheet and runs a few macros, then closes the spreadsheet. When I run the .exe, I get an error message - 'Run-time error '13': Type mismatch' The line of code causing this is - Code: If UCase(Trim(ActiveCell.va


finding the longest length of several strings -
i have five strings, eg: and i assign the lengths to a string array, eg: tmp(0) = len(string1) tmp(1) = len(string2) ... ... tmp(4) = len(string5) is there an easier (hah!) way to find the longest string other than comparing it to each other many times? thanks for a


Comparing two dates in a form -
In my project I have a textbox called date,there is another one in the flex grid also containing a date value in a column,when enter is pressed after giving a value in the first textbox there is comparision of both of these dates,and if the textbox date is larger,5 should be multiplyed


Validate Same Month -
How can I validate in Javascript that two dates are within the same month without comparing the first two characters of the date string (i.e. 05/11/2004)?