Results 1 to 2 of 2

Thread: How can I split up a single word

  1. #1

    Thread Starter
    New Member
    Join Date
    Jun 2005
    Posts
    7

    How can I split up a single word

    Im wanting to split up a word into its component letters to manipulate the letters individually, basically I want to create an array of letters from a string.

    How is this achievable?

  2. #2
    Hyperactive Member
    Join Date
    Jul 2005
    Posts
    297

    Re: How can I split up a single word

    VB Code:
    1. Dim s As String = "floccinaucinihilipilifaction"
    2.         Dim letters() As Char = s.ToCharArray
    3.         'Letters is now an array of chars
    4.         'letters(0) = f
    5.         'letters(1) = l
    6.         'etc...

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width