Windows Vista Forums
Vista Forums Home Join Vista Forums Windows 7 Forum Vista Tutorials Tags
Welcome to Windows Vista Forums. Our forum is dedicated to helping you find solutions with any problems, errors or issues you are experiencing with Windows Vista. The Vista forum also covers news and updates and has an extensive Windows Vista tutorial section that covers a wide range of tips and tricks.

Go Back   Vista Forums > Misc Newsgroups > .NET General

Vista - stringfunctie Vb2005

Reply
 
Old 04-30-2009   #1 (permalink)
Georg


 
 

stringfunctie Vb2005

Hallo,

ik zou in een zoekveld een paar letters van ene Familenaam ingeven samen met
een paar letters van een voornaam.

bvb berte,be. maw alle voornamen waar "berte" in voorkomt en alles waar "be
in voorkomt in de voornaam.
Mijn vraag is hoe ik dit kan opsplitsen. Ik gebruik maak gebruik van Visual
Basic 2005 en ben bezig met een databank Alles wordt weergegeven in een
Winform. Hoe zou ik de gegeven tekst kunnen opsplitsen in alles wat voor de
komma staat en alles wat na de komma staat.

mvg Georg



My System SpecsSystem Spec
Old 04-30-2009   #2 (permalink)
Cor Ligthert[MVP]


 
 

Re: stringfunctie Vb2005

Hallo Georg,

In these dotNet newsgroups are despite there is not in the name any EN the
English language used.

It is very international (Chinese, Dutch, Indian, British and from the USA)

A newsgroup in Dutch for Development there is a newsgroup named
Microsoft.public.nl.devtools but it is very rarely used.

In the newsgroup
Microsoft.public.dotnet.languages.vb are more Dutch speaking people active
(Belgian and Dutch) although they use English.

There are more possibilities to solve your problem.
In VB the quickest for strings is the Instr function.

I use mostly the string.IndexOf or one of the other methods from the string
class.

To split a string there is the string.Split method.

Simple have a look for that on MSDN

Cor


"Georg" <georg@xxxxxx> wrote in message
news:eOIqzOXyJHA.1424@xxxxxx
Quote:

> Hallo,
>
> ik zou in een zoekveld een paar letters van ene Familenaam ingeven samen
> met een paar letters van een voornaam.
>
> bvb berte,be. maw alle voornamen waar "berte" in voorkomt en alles waar
> "be in voorkomt in de voornaam.
> Mijn vraag is hoe ik dit kan opsplitsen. Ik gebruik maak gebruik van
> Visual Basic 2005 en ben bezig met een databank Alles wordt weergegeven in
> een Winform. Hoe zou ik de gegeven tekst kunnen opsplitsen in alles wat
> voor de komma staat en alles wat na de komma staat.
>
> mvg Georg
>
>
My System SpecsSystem Spec
Old 04-30-2009   #3 (permalink)
Georg


 
 

Re: stringfunctie Vb2005

Hi Cor,

Sorry, I've posted indeed in a wrong newsgroup. I was to fast to post it.
My excuses.

I Found it indeedn in the help , but i stuggle if there is no "," in the
searchstring.

regards, Georg

"Cor Ligthert[MVP]" <Notmyfirstname@xxxxxx> schreef in bericht
news:OGo7$XXyJHA.1380@xxxxxx
Quote:

> Hallo Georg,
>
> In these dotNet newsgroups are despite there is not in the name any EN the
> English language used.
>
> It is very international (Chinese, Dutch, Indian, British and from the
> USA)
>
> A newsgroup in Dutch for Development there is a newsgroup named
> Microsoft.public.nl.devtools but it is very rarely used.
>
> In the newsgroup
> Microsoft.public.dotnet.languages.vb are more Dutch speaking people active
> (Belgian and Dutch) although they use English.
>
> There are more possibilities to solve your problem.
> In VB the quickest for strings is the Instr function.
>
> I use mostly the string.IndexOf or one of the other methods from the
> string class.
>
> To split a string there is the string.Split method.
>
> Simple have a look for that on MSDN
>
> Cor
>
>
> "Georg" <georg@xxxxxx> wrote in message
> news:eOIqzOXyJHA.1424@xxxxxx
Quote:

>> Hallo,
>>
>> ik zou in een zoekveld een paar letters van ene Familenaam ingeven samen
>> met een paar letters van een voornaam.
>>
>> bvb berte,be. maw alle voornamen waar "berte" in voorkomt en alles waar
>> "be in voorkomt in de voornaam.
>> Mijn vraag is hoe ik dit kan opsplitsen. Ik gebruik maak gebruik van
>> Visual Basic 2005 en ben bezig met een databank Alles wordt weergegeven
>> in een Winform. Hoe zou ik de gegeven tekst kunnen opsplitsen in alles
>> wat voor de komma staat en alles wat na de komma staat.
>>
>> mvg Georg
>>
>>
>

My System SpecsSystem Spec
Reply

Thread Tools


Similar Threads
Thread Forum
Error Provider and Business Objects Validation - VB2005 .NET General
crystal reports Vb2005 .NET General
command object vb2005 ado .NET General
VB2005 problem to start programs from network drive Vista security


Vista Forums is an independent web site and has not been authorized,
sponsored, or otherwise approved by Microsoft Corporation.
"Windows Vista", the Start Orb, and related materials are trademarks of Microsoft Corp.
© Designer Media Ltd

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46