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
comparing strings[resolved] -
When comparing strings, in an "if" statement, is there a way to make it not case sensitive?
-tony
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?
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
[2005] compare strings -
I'm comparing 2 strings, they happen to be version numbers that have both numbers and letter(s) in the string, how can i tell if 123b is newer than 123a ?
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?
showing the difference between two strings -
I am comparing the contents of two strings which must be exactly the same if the test is to pass.
Currently if they are different, I write the contents of each to a log file but since the contents of these variables can be more than 2k's worth of charactors, the diff is not very app
Sorting or Comparing Strings -
When Sorting strings in a listbox is there an easy way to make sure that it doesnt put "10" and "100" next to each other? When ever I set sorted to true I get things like this:
"10"
"100"
"11"
I can roll my own sort if I must but
Soundex Difference -
ive got vb code which returns soundex codes for strings but i need a function which does what the SQL DIFFERENCE function does.
(Returns a value between 0 and 4 which relates to how close 2 strings sound).
Or if anyone knows how the DIFFERENCE function works, let me know so i can h
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
Comparing 2 arrays -
Hi,
I have 2 arrays of integers with 8 elements in each one.
Is there a function to compare both arrays, without actually looping throught both of them?
Kind of like StrComp() for strings.
string comparing in cgi -
common error... i do it all the time. There are different comparators for strings and numberical data. "==" is numerical and you want to compare strings so you should use eq.
ie..
$tmpstr=substr($temp_file,-4,4);
if ($tmpstr eq ".htm")
{
print "True:
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 strings -
how can i compare strings in a textbox? and then return a value or a msgbox that says "line 1 of txtbox1 does not match with line 1 of txtbox2"
i.e.
txtbox1 contains:
hello world
i'm detj
i luv vbforums
txtbox2 contains:
hi world
i'm detj
i love vbforums
Doesnt equal.. -
How do you do If Something DOESNOTEQUAL something... E.g. My guess would be 'If Something != Something then' ..But that apparently doesnt work .....P.S...We are comparing strings
Comparing question -
Hi all, I have this little question about comparing strings.. ok I have this search engine project:
"search" is the string and then I split it and get "sArray", So now I want it to make str=str & ..... etc I mean to do the statement, if and only if the two wo
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?
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
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
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 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.
Case Sensitive in the comparision of strings in SQL Server 7.0 -
We are using SQL Server 7.0 and the Sort Order is default case insensitive, kana type insensitive, width insensitive.
When Executing the following query,
"Select Code,Name from test where code='1a'"
it returns the following result.
Code Name
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
convert strings -
anyone know how to convert strings into integers?
strings I meant not chars, I meants strings.
#include <string.h>
Parent/Child - formatting strings !*!£$"! -
This one is driving me potty!
I have a text file that gets Drive paths written to it eg.
C:\
C:\My Documents
D:\Some_Directory
What I'm trying to do is find a way to check every entry before it is written to see if the parent has been added (if C:\ already existed in there the
Accessing and working on .c, .h files from VB -
Hi all,
I need to find few strings in .c/.h files which are part of a VC++ workspace and replace those strings with my new strings. I've stored the "strings to be found in the files" in one column and "strings to be replaces in the files" in 2 adjacent columns
removing quotes from strings ***RESOLVED*** -
Just a simple question,
I have a list box with strings and numbers contained in it. some of the strings have quotes around them but the numbers do not. I was trying to think of the quickest and easiest way to remove the quotes from around the strings. It is made harder by the fact t
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
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
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 values in array -
Hi!!
I've a array of strings called Linha. This array has a variable length that varies between 1 and 5. My problem is how do I compare all values of the array between each other. And how do i make a if clause like:
If all values are equal then
...
Elseif anyvalue is diferent fro
xor strings -
i have a question
in the program if i am xor 2 strings to get a third one.. is it necessary that both the strings should be of same length or do i need to do some padding if one string falls short
broad - strings -
does anyone know of any site or anyone have a tutorial on strings ... like using left, mid, right, instr (i don't really know how to use them and don't know most of the commands to work with strings ...
Tall order (String->Int // Int->String) -
I am developing an online quiz, part of which required short answer questions (1 word for now).
I am trying to write a function which will compare the input word with the correct word.
I am using a 'confidence level' to determine if they are close enough to be correct - I have to
Comparing Times -
I need to compare times in strings, see if, say "5:15:00 AM", falls between "5:00:00 AM" and "5:00:00"
All I can find is doing this with dates.
cjqp
How do I say "while StringArray(x) is not null" -
Array looks like this:
Dim Strings(5) as String
Strings(0) = "hi"
Strings(1) = "yo"
Strings(2) = "hello"
Strings(3) = ""
Strings(4) = ""
Strings(5) = ""
How do I say..loop through these values until you get to
Sorting an array of strings in asm -
Does anyone know how to sort an array of strings in asm? I have an array of 10 strings the strings can range any where from 0 to 20 char long. For example the array may contain:
one
two
three
four
five
six
seven
eight
nine
ten
and that needs to be sorted. Can someone ple
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
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?
mathematical operations on strings -
I just inherited a program that does a bunch of mathematical operations on strings, ie, subtraction and multiplication. It appears that the complier converts the strings to single, does the operation, and converts it back. That is what I need but never used strings that way. I am ne