Jump to content

1ª letra du primeiro nome + ultimo nome


mariogx
 Share

Recommended Posts

Boas!!

Para Vb.Net  😁

Simples, rapido e eficaz  😁

        'Função para Criar Login com a 1ª Letra do 1º e o ultimo nome
        'Realizado por Miguel Duarte 
        Dim s As String() = TxtNome.Text.Split(" ")
        TxtLogin.Text = s(0).Substring(0, 1) & s(s.Length - 1)

SoulOnFire

Fikem Bem!!!Miguel Duarte - (SoulOnFire)O meu BLOG - XAML E WPF - http://wpfpt.wordpress.com/

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...

Important Information

By using this site you accept our Terms of Use and Privacy Policy. We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.