Click here to Skip to main content
15,894,343 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
hi all , i have string that string format is like this

'01/08/201100000001000134625SEBASTIN'

i need take only character from abouve statement, i meant that SEBASTIN alone i want to assign into another string,
please give me some sample code
Posted

1 solution

See this link : http://msdn.microsoft.com/en-us/library/ms256054(v=vs.80).aspx[^]
It's very simple you can use SubString Function which returns sub part of the string.
VB
Dim S As String = "01/08/201100000001000134625SEBASTIN"
MessageBox.Show(S.SubString(26))
 
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