Arrays

aziz rasul

Active member
Local time
Today, 10:00
Joined
Jun 26, 2000
Messages
1,935
I have a string that contains many spaces e.g. "33 THE CASPIAN CENTRE OF VIRGINIA".
I want to create an array that places the values of where the spaces occur. In this example they occur at 3, 7, 15, 22, 25.

I then want to make the first letters of the words uppercase using the UCase function which I can do. Hence the string will be "33 The Caspian Centre of Virginia".
 
I have a function that someone else wrote that will convert strings to Proper Case. Shall I email it to you?
 
This should work, eh?

txtString = StrConv([txtString], 3)
 

Users who are viewing this thread

Back
Top Bottom