Skip to content
Loading
0
  • Jefferson S. Motta
    0
    This is the result:
     
     
    0
  • Ronika Jency
    0
    Hi,
     
    Refer below link,
     
    https://www.c-sharpcorner.com/UploadFile/mahesh/split-string-in-C-Sharp/ 
    0
  • Mageshwaran R
    0
    Hi ,
    Try this code:
                
     
    1. String Mystring=""[)>_d03006_d029VTCUP_d029P2865478547_d029T190917U111@9E005_d029_d030_d004"   
    2. string[] Mystring_Split = Mystring.Split("_ ");  
    3. foreach (string item in Mystring_Split)  
    4. {  
    5.   lblname.text=item[0].tostring();  
    6.   
    7. }  
    0