Check string? 
Author Message
 Check string?

Hi.
In my program the user enters a string and the application checks if it's
spelled right or wrong, how do i locate the error in the string? Ex. string
to be entered: "Visual Basic" Entered string: "visual lasic" How do I for
example a msgbox with the text: "you spelled wrong: "visual Lasic"" (note
the big L)?

Thanks



Fri, 06 Sep 2002 03:00:00 GMT  
 Check string?

 > In my program the user enters a string and the application checks
 > if it's spelled right or wrong, how do i locate the error in the
 > string? Ex. string to be entered: "visual basic" Entered
 > string: "visual lasic" How do I for example a msgbox with the
 > text: "you spelled wrong: "visual Lasic"" (note the big L)?

Unless you are testing the users' typing ability or their spelling
ability, it would be much better to give them a list box or a combo box
from which they can choose the appropriate phrase. Obviously, if you
can check phrases for validity, you know what they should be.

Otherwise, you should use a spelling checker... third party, or the one
in Office via automation. That will, unfortunately, check only word by
word.

--
L. M. (Larry) Linson
Access example databases at http://homestead.deja.com/user.accdevel
New: Book reviews, previously published in North Texas PC News
Script execution must be enabled and Windows set to Small Fonts

Sent via Deja.com http://www.deja.com/
Before you buy.



Fri, 06 Sep 2002 03:00:00 GMT  
 Check string?
The user types in the alfabet and i time it. I want to view the error(s)
with a capitol letter.



Quote:

>  > In my program the user enters a string and the application checks
>  > if it's spelled right or wrong, how do i locate the error in the
>  > string? Ex. string to be entered: "visual basic" Entered
>  > string: "visual lasic" How do I for example a msgbox with the
>  > text: "you spelled wrong: "visual Lasic"" (note the big L)?

> Unless you are testing the users' typing ability or their spelling
> ability, it would be much better to give them a list box or a combo box
> from which they can choose the appropriate phrase. Obviously, if you
> can check phrases for validity, you know what they should be.

> Otherwise, you should use a spelling checker... third party, or the one
> in Office via automation. That will, unfortunately, check only word by
> word.

> --
> L. M. (Larry) Linson
> Access example databases at http://homestead.deja.com/user.accdevel
> New: Book reviews, previously published in North Texas PC News
> Script execution must be enabled and Windows set to Small Fonts

> Sent via Deja.com http://www.deja.com/
> Before you buy.



Sat, 07 Sep 2002 03:00:00 GMT  
 
 [ 3 post ] 

 Relevant Pages 

1. How to check string is Alpha

2. Check string is number

3. Functions to check strings

4. checking strings for number

5. Function to check string

6. check string

7. Check string to see if it will work as a date

8. check string as valid filename

9. SQL String check

10. Converting numbers to strings to print checks????

11. macro to check if a string is in a selection

12. Check for alphanumerics in a string?

 

 
Powered by phpBB® Forum Software