|
-
Dec 8th, 1999, 01:33 AM
#4
Lively Member
Dim myString As String
'load myString with the file...for this 'example, I just used some text:
myString = "Basically Visually Impaired. "
'remove extra spaces:
myString = Trim(myString)
'remove final period:
myString = IIf(Right$(myString, 1) = ".", Left$(myString, Len(myString) - 1),_ myString)
'get last word:
Label1 = Right$(myString, Len(myString)_
- InStrRev(myString, " "))
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|