c# - How to copy the first Character of a Label with a button? -


i have label want copy first character. label reads 1000. have copy button set

var textcopy = label.text; clipboard.settext(textcopy); 

can add label.text part allows first character copied?

string array of characters, first index of string this:

clipboard.settext(textcopy[0]); 

Comments

Popular posts from this blog

1111. appearing after print sequence - php -

java - WARN : org.springframework.web.servlet.PageNotFound - No mapping found for HTTP request with URI [/board/] in DispatcherServlet with name 'appServlet' -

Ruby on Rails, ActiveRecord, Postgres, UTF-8 and ASCII-8BIT encodings -