Click here to Skip to main content
15,905,913 members
Please Sign up or sign in to vote.
2.32/5 (4 votes)
How to Copy partial Text from Label .net C#
If we have some text in a lable then How to Copy partial Text from Label.
example:
Lable1 ="HelloBuddy";
and we only require "llobuddy"

any body please help me..
Posted

1 solution

Use a substring,

http://www.dotnetperls.com/substring[^]

Or if you looking for a specific character and you want everything after that you can use split.

http://www.dotnetperls.com/split[^]
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900