CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 2 of 2
  1. #1
    Join Date
    Sep 2001
    Location
    India,Karnataka,Bangalore
    Posts
    1

    how to divide one word into parts

    How to divide on field value in 2 different strings and store into differnt values.

    Mahesh

  2. #2
    Join Date
    Sep 2001
    Location
    IL, USA
    Posts
    1,090

    Re: how to divide one word into parts

    You can try the Split function. It returns a zero-based, one-dimensional array containing a specified number of substrings. ex:Arr = Split("abc.dfghij.klmn",".")

    Here Arr is a one dimensional array with Arr(0)="abc", Arr(1)="dfghij" and Arr(2)="klmn"


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

Featured