The Artima Developer Community
Sponsored Link

C# Answers Forum
split a string

0 replies on 1 page.

Welcome Guest
  Sign In

Go back to the topic listing  Back to Topic List Click to reply to this topic  Reply to this Topic Click to search messages in this forum  Search Forum Click for a threaded view of the topic  Threaded View   
Previous Topic   Next Topic
Flat View: This topic has 0 replies on 1 page
Maryam Salehi

Posts: 1
Nickname: eagerc
Registered: Dec, 2010

split a string Posted: Dec 16, 2010 9:49 AM
Reply to this message Reply
Advertisement
Hi, I'm a newbie. I want to get a string (a word) from a textbox and split it to letters in a second textbox.
I tried may things such as

string [] StringArray= txtEntry.Text.ToCharArray();

or

string S=txtEntry.Text;
String [] StringArray= new String [S.length];

and many others such as substring and split method, but didn't work. I'm so disappointed. Could anyone help me please. I'm so eager to learn programming.

Topic: i have have a project to complete Previous Topic   Next Topic Topic: use delphi dll in c#

Sponsored Links



Google
  Web Artima.com   

Copyright © 1996-2019 Artima, Inc. All Rights Reserved. - Privacy Policy - Terms of Use