Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
CODE PROJECT For Those Who Code
  • Home
  • Articles
  • FAQ
Community
  1. Home
  2. General Programming
  3. Visual Basic
  4. How to break down a sentence ?

How to break down a sentence ?

Scheduled Pinned Locked Moved Visual Basic
tutorialquestion
3 Posts 3 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • F Offline
    F Offline
    furher
    wrote on last edited by
    #1

    when a sentence is written in text box with space in every word ,, how to break the sentence for each (space event)word and send it to the next texbox followed in VB application ? dinu

    N C 2 Replies Last reply
    0
    • F furher

      when a sentence is written in text box with space in every word ,, how to break the sentence for each (space event)word and send it to the next texbox followed in VB application ? dinu

      N Offline
      N Offline
      noshaba mariam
      wrote on last edited by
      #2

      if im getting ur question right u can do this in following way: >> keypress event of text box1 if chr(keyascii) = " " then text2.setfocus end if write the same code in key press event of each textbox and set focus to next text box Noshaba

      1 Reply Last reply
      0
      • F furher

        when a sentence is written in text box with space in every word ,, how to break the sentence for each (space event)word and send it to the next texbox followed in VB application ? dinu

        C Offline
        C Offline
        Chatura Dilan
        wrote on last edited by
        #3

        Your question is difficult to understand. You can split your senesce like this Dim words() As String = Split(TextBox1.Text, " ") and get each word like this Textbox2.Text = words(0) Textbox2.Text = words(1) Chatura from Pearl of the Indian Ocean

        1 Reply Last reply
        0
        Reply
        • Reply as topic
        Log in to reply
        • Oldest to Newest
        • Newest to Oldest
        • Most Votes


        • Login

        • Don't have an account? Register

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • World
        • Users
        • Groups