Wrox Home  
Search P2P Archive for: Go

  Return to Index  

pro_vb thread: Getting the First word


Message #1 by "Sergio Davi Silva Bezerra" <davi@c...> on Fri, 7 Jul 2000 13:34:14
Try:

s = textbox1.value
firstname = Left(1, s, Instr(s," ") -1)

----- Original Message -----
From: "Sergio Davi Silva Bezerra" <davi@c...>
To: "professional vb" <pro_vb@p...>
Sent: Friday, July 07, 2000 1:34 PM
Subject: [pro_vb] Getting the First word


> Please, i am attempt get the first word of name of a textbox, example:
>
> JOHN WILLIAMS
>
> Display only: JOHN
>
> Sergio Davi Bezerra
>

  Return to Index