Hello, MSA Group,
Does anyone know how to convert all UPPER CASE text to Initial Caps?
I'm familiar with ucase and lcase, but don't know of any function to
handle Initial Caps, i.e. every word between non breaking spaces are
Capitalized.
Thx,
Addio 3 13920
On 25 May 2005 14:36:34 -0700, Addio wrote: Hello, MSA Group, Does anyone know how to convert all UPPER CASE text to Initial Caps? I'm familiar with ucase and lcase, but don't know of any function to handle Initial Caps, i.e. every word between non breaking spaces are Capitalized.
Thx,
Addio
[FieldName] = StrConv([FieldName])
This will not properly capitalize words which ought to contain more
than one capital letter, i.e. McGregor, O'Brien, IBM, etc. which
become Mcgregor, O'brien, Ibm, etc.
You will need to use a table of exceptions if this is of importance to
you.
--
Fred
Please only reply to this newsgroup.
I do not reply to personal email.
On Wed, 25 May 2005 21:51:31 GMT, fredg wrote: On 25 May 2005 14:36:34 -0700, Addio wrote:
Hello, MSA Group, Does anyone know how to convert all UPPER CASE text to Initial Caps? I'm familiar with ucase and lcase, but don't know of any function to handle Initial Caps, i.e. every word between non breaking spaces are Capitalized.
Thx,
Addio
[FieldName] = StrConv([FieldName])
This will not properly capitalize words which ought to contain more than one capital letter, i.e. McGregor, O'Brien, IBM, etc. which become Mcgregor, O'brien, Ibm, etc.
You will need to use a table of exceptions if this is of importance to you.
Oops!
That should have been, in VBA:
[FieldName] = StrConv([FieldName],3)
Or as the control source of an unbound control:
= StrConv([FieldName],3)
--
Fred
Please only reply to this newsgroup.
I do not reply to personal email.
"Addio" <gb********@las tar.com> wrote in message
news:11******** **************@ g49g2000cwa.goo glegroups.com.. . Hello, MSA Group, Does anyone know how to convert all UPPER CASE text to Initial Caps? I'm familiar with ucase and lcase, but don't know of any function to handle Initial Caps, i.e. every word between non breaking spaces are Capitalized.
Thx,
Addio
Try:
StrConv("HELLOO O!",vbProperCas e) This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
by: Mike S. Nowostawsky |
last post by:
I tried using the "toUpperCase()" property to change the value of an array
entity to uppercase BUT it tells me that the property is invalid. It seems
that an array is not considered an object when it is assigned a text
literal?? HOW can I change the array value to upper case then? What other
method exists for arrays?
Ex:
var GridArrayName1 = new Array();
GridArrayName1 = new Array ('test-value');
GridArrayName1 = GridArrayName1...
|
by: Tegdeep |
last post by:
Here's what I want to do:
I have a hash table which contains data associated to different keys.
The Hash keys are represented by a single character from the keyboard:
0-9, a-z, A-Z, and the other special characters.
I want my program to detect what key the user pressed from the keyboard
and get the associated data from the hash table (associated with the
key he pressed which is the same as the hash key). The user can also
decide to...
|
by: Brad Smith |
last post by:
I'm trying to clean up strings in a web form before I plug the fields
into a database. Lots of folks like to leave caps lock key on and
yell their form entries.
I can figure out how to change strings to sentence case, but I don't
want to do it to every string since some correctly entered words e.g.
"to" would be converted unnecessarily (to "To"). I'm willing to live
with the over correction on a few strings, but don't want to apply it...
|
by: Nelson |
last post by:
In my web form, I am converting all lower case letters to upper case when
the user types the characters in the edit boxes. I am achieving that by
injecting client side script (onkeyup event) for each text box. However if
the user types the characters so fast it may not work.. Also there are some
other loopholes in my code. Is there any approach in ASP.Net to make sure
whenever the user types lower case, the data will be converted to upper...
|
by: feeman |
last post by:
I can change a field to upper case by using the after event function
and the following code
Me. = UCase(Me.)
But how can you do it so that the whole form will change to Uppercase,
there are 20 fields on this form, and I would have to do the above for
all of them. There must be a faster way.
Anybody know the answer
| |
by: Tim_Mac |
last post by:
hi,
i'm referring to System.Globalization.TextInfo.ToTitleCase(string s)
and it works fine if you pass in an all lower or mixed case string.
however i am trying to make amends for data entry staff who like to
leave Caps Lock on all the time, so all the input is in upper case.
ToTitleCase("CORK") returns "CORK" instead of "Cork".
any ideas why? i can obviously sent all the strings ToLower before
calling ToTitleCase but that seems like a...
|
by: Matuag |
last post by:
How can I enable Caps Lock after the form or database opens?
|
by: =?Utf-8?B?cmtibmFpcg==?= |
last post by:
How can I force the users to enter characters in uppercase? I want to do this
in a TextBox control of an aspx page. Then I want the same to be moved to
inside a GridView control.
Thanks.
|
by: Michael Bell |
last post by:
Working my way through Koenig & Moo "Accelerated C++" and using
Borlang Builder 5 (but that is probably not relevant) I reached
exercise 1-1 and typed in
#include <vcl.h>
#pragma hdrstop
#include <iostream>
#include <string>
int main(int argc, char*argv}
|
by: marktang |
last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look !
Part I. Meaning of...
|
by: jinu1996 |
last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth.
The Art of Business Website Design
Your website is...
| |
by: Hystou |
last post by:
Overview:
Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
|
by: tracyyun |
last post by:
Dear forum friends,
With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
|
by: TSSRALBI |
last post by:
Hello
I'm a network technician in training and I need your help.
I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs.
The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols.
I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
|
by: adsilva |
last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
|
by: 6302768590 |
last post by:
Hai team
i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
|
by: muto222 |
last post by:
How can i add a mobile payment intergratation into php mysql website.
| |
by: bsmnconsultancy |
last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...
| |