hi guys?i need some help.i am developing a swahili, english language translator.i have an access database,which has 2 columns.namely(English word, Swahili word).which function in vb6 or vb.net can i use to break down an entire sentence into tokens, then translate the individual words directly from the database?
thanks

you could use split to divide the sentence into words. Something like:

dim x as string
x = "this is a sentence."
parts = split(" ", x)  ' might be split(x, " ")

now parts(0) should be "this".

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.