How to compare one string to.....HELP!! -
Hello,
I'm trying to compare 2 strings(username, and password) to a textfie that I have loaded into my app, via richtextbox.
If there is a way to compare it without using the richtextbox that is cool. I have a textfile that has the usernames and accounts of my users in it. I get the user name and pass from the client they are using(winsock)..then I want to check if the username and password exists in my textfile. I thought I had this down, but it's not comparing right. Anyone know how to do this??? Thanks.
[resolved]case-insensitive string compare -
Quickie - just looking for an existing function to compare example and eXamLe which will return true, without having to overload string.compare functions.
How to compare multiple (part) strings -
Hi,
I have 2 listboxes and want to compare both and count in how many lines are identical strings. BUT .... I want to use part of the strings (same as with MID) and this part strings chance always.
For example: I want to compare at the begin the characters 1-5 then 2-6 then 3-7 a
compare string regardless of upper or lower case (Resolved) -
Hi,
I have got to compare a string with another string. How do I compare both string irregardless of case sensitve. Below are a few examples
star = Star
Star =star
matching should be done based on case insensitive.
compare a item in a collection -
I want to compare a string item in a collection with another string variable. I use collection.items.contains(string_var) to compare if the string_var is in the collection. But i need to compare case insensitive !! How can i do this ?
Compare String in FlexGrid Cell to Excell Sheet Cell -
I have a string in a cell of a flexgrid that I want to compare to a string in an excel sheet cell
I tried doing this:
MsFlexGrid1.Col=0
MsFlexGrid1.Row=0
If MSFlexGrid1.Text = XLSheet3.Cells(3, 1) Then
'Do the stuff I want to do
End If
But it gives me a runtime error a
Case sensitivity -
Does anyone know if SQL Server is case sensitive? I ask this because when I perform comparisons between string variables and fields in ADODB Recordsets case does not seem to matter. For example, if I compare hello and HELLO, they are considered the same string. However, my application
Parsing a string.. -
Hello,
I have textbox in which I am typing. In the textbox_change() event I am passing the contents of the textbox to a function. For example if I type a "D" then I pass that as my string. When I type "A" then "DA" is passed...so on and so forth. In the
Option Compare Text at Runtime -
By inserting option compare text, str comparisons become non case sensitive.
I need to know how at runtime I can switch between binary and string comparisons?
I can do it the messy way by optionally running a ucase or lcase statement to both string to be compared, however this be
Compare each string with strings in array -
I need to search an array of strings and compare each string with a given string.
I count how many characters in the string that equals the string of the array.
In the beginning the array is empty. Depending on the result of the compare the array grows. That means that the array
help with DateTime.Compare -
hi! can anybody please help me. Why is it when i try to compare two the same dates I was not getting the right return value of Datetime.Compare which 0. I dont know if the problem is in my code or is in the Datetime.Compare method. by the way, i attched a screenshot to give you more id
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
complex string comparison -
Hi all,
I want to compare 2 strings of text (product description)
example:
string 1: Cup. knee 12mm x 15mm cap. 90degr.
string 2: VSH knee 12mm x 15mm 90 / cap.
these 2 strings represent the same product (different suppliers)
is there a way to compare the strings word by
VB.NET: Using String to compare with the Combo Box... -
Hi...
Say i have this string call "data" in Form1, this string contains number "5" value....
how do i pass this string to the Form2 and compare with the combo box items...
The combo box DropDownStyle is set to DropDownList...
which means when i pass, the
any string compare functions in sql server -
Hi all...
There's this StrComp function in Access but anyone knows if there is a similar string compare function present in sql server?? What's the command if there really is?
Thanx in advance.
compare a string -
I have a string value and I want to compare it with some words.
What I want to do that first program read the string value and if it contain "abc" (without quotes) in whole string then it call x function but if it contain "xyz" call y function.
Basicaly i want
Option Compare -
Can anyone give me some insight as to the benefit of using option compare.. i pretty much know what it does.. and that it is compare binary by default... but when should you use option compare text instead?
How to compare one string to.....HELP!! -
Hello,
I'm trying to compare 2 strings(username, and password) to a textfie that I have loaded into my app, via richtextbox.
If there is a way to compare it without using the richtextbox that is cool. I have a textfile that has the usernames and accounts of my users in it. I get the
Fast Compare -
Dear All,
I have two Richtext box in Form . I have typed some word in Each boxex.These Text boxes has arround 100 - to 150 lines each.
I want to Fast Binary compare method, which will highlight the First Mismatch with some colour in Each Text box.These Compare sh
easiest way to compare 2 lists -
what is the syntax for using the compare in vb... ie compare filelist1 to filelist2 and see what files one directory has that the other doesnt
Compare Database -
Not sure if this is the right place, but I'm pretty stuck. I have 2 pretty large list ... like 1 million plus records & 10 Million plus.
One of them has a bit older data but I want to compare it to the new one and confirm the data.
The new one contains the 10 Million recor
Easy one: string/char comparison -
I need to compare two character array elements to see if they have the same value, but using a text compare rather than a binary compare of the scan codes. I want to do what VB's Option Compare Text does rather than Option Compare Binary, which is what I am seeing as a result of this c
SQL in Foxpro Convert/Compare String as Int -
I have a foxpro database where a field is a string, but its a number. I need to compare this number to another number, here's what I tried so far, this didn't work
... WHERE CAST(fieldnum AS integer) >= 15
This returns no values, am I doing something wrong? Fieldnum is a Stri
Compare String -
Hi,
I'm using VB in a Excel file. I have a cell that have the text "PRODANG Janeiro 2006". I want to compare that content with a string with this text "PRODANG Janeiro", how can i do it? Now to that work i'm comparing the cell to the string "PRODANG Janeiro
Compare Two Word Files -
Hi All,
I want to develop a VB6 application to compare two word files.
I want to include option to
- compare the content only.
- compare the content and Formating also.
I want you all to suggest me the best way to do it.
Thanks in Advance.
String Comparison Question. -
Hi,
I have 2 string
*************************
dim a as string
dim b as string
a="cat"
b="cat"
***************************
if i want to compare both the string to see whether they are the same.How do i compare ??
isit using
*****************************
Newbie questioon: String Comparison -
Ok, after looking on MSDN and doing some test of my own, I have no idea how to make this work.
Basically, I have 2 strings which being compared. Now my problem is that they are the string representation of integers. For example: the Number 8 as "8". Ok obvious i know.
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;
Compare word Documents -
Hello,
Is it possible to compare two word files without using MS Word's inbuilt Compare & merge option?
May be in VB way???
Could you please help me out on this.
Thanks,
Kanna.
Compare MDB -
I want to compare two Access 2000 database files. And find out what records have been changed.
Is there a program to compare two files?
[2008] Get all explorer windows open and compare titles -
Hey, I'd like to get all explorer windows open, and compare titles...
IE, If I have two folders open, I'd like to retrieve those windows, and compare their titles to a string..
Any idea's on how to do this?
Cheers
Icyculyr
Access97 Compare function on array or list -
Hi all
I was just wondering...I have 2 lists of numbers say
1 2 3 4 5 6 7 8 9
and
123
These are ref numbers for scanned dicuments against People. Is there an easy way to compare say a string or array and say Whats missing??
ie 4 5 6 7 8 9
Just thought I would ask b
[2005] CompareValidator question ! -
Hi ,
can a compareValidator compare a unique field
i saw the types Integer ; String ..
normally i used to compare 2 field
wondering if i can use it for one field ?
so (i will not use CustomeValidator in some case )
Thanks
better way to compare dates -
hi guys! can anybody please help me...i have the code below which compare two dates,datenow and the alarmdate, and show the alarm notification when they are equal but as you can notice the way of comparing dates is first Convert both dates ToShortDateString and compare it and when they
VB - Some functions that makes string parsing easier -
The next functions makes string parsing a “piece of cake”.
The first word in the function names, is how the function does the search (ie Left = Instr and Right = InStrRev), and the right word of the function is what part of the string the function returns...
These functio
compare 2 datasets -
I have 2 datasets derived from 2 XML files and I want to compare these 2 datasets.
I'm doing a readxml and loading the dataset. How can I now compare the datasets row by row. I just want a boolean value to see if its true or false. I dont want to do anything with the data.
thanks
Compare two .bas files[Found a way] -
Does anyone know of a way to compare differences between two different .bas files?
I have two different versions of a very long and convoluted bas module and would like to
mark areas, or at the very least have them pointed out by some sort of
"compare" program.
I su
String compare -
I have two strings to compare ,though they looks the same , the return boolean is false....
lstrString = (xlsheet.Cells(2, 1).Value) ' retrieve from excel which is empty
lstrString1 = ""
MsgBox IsNull(lstrString = lstrString1)
What happen?
Regards
Goh
Date Compare -
Hi.. how can i set a condition string to compare if the date
"is within last 2 month?" I do something?
Compare two XML files -
Hi there!
Does anyone know how to compare two xml files?
what i wanna do is compare the two xml Files and then display the difference to the datagrid...thanks in advance.
File compare software -
Dear All,
Can some body suggest me good file compare software to compare the two text files.?