WednesdayC
Board Regular
- Joined
- Nov 7, 2010
- Messages
- 201
- Office Version
- 2016
- Platform
- MacOS
Hi All
I apologise for posting twice in one day, but I am under pressure to finish a project.
I am trying to work out how to trim the contents of an InputBox
For instance, assuming I have a variable called FirstName which is read from the string posted to an InputBox and the user enters, say John Doe, instead of John - how can I trim out the Doe and just retrieve John.
Also, if they entered, say, John H Doe, how could I trim out the Doe and just retrieve John H?
Once again, many thanks in advance.
Regards
Wednesday
Regards
Wednesday
I apologise for posting twice in one day, but I am under pressure to finish a project.
I am trying to work out how to trim the contents of an InputBox
For instance, assuming I have a variable called FirstName which is read from the string posted to an InputBox and the user enters, say John Doe, instead of John - how can I trim out the Doe and just retrieve John.
Also, if they entered, say, John H Doe, how could I trim out the Doe and just retrieve John H?
Once again, many thanks in advance.
Regards
Wednesday
Regards
Wednesday