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
Post a Comment