|
-
May 22nd, 2005, 11:40 PM
#1
Thread Starter
Member
String truncate
I have a string in VBA and it has a space in it how do i create some code (a function) where i pass a string in and it returns everything before the first space.
for example.
String1 = "the moon"
String2 = SOMEFUNCTION(String1)
String2 should equal "the"
Can anyone help me with this please.
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
|