Reputation: 17
I am new to vb.net programming. Is there any possible way to query SELECT the data stored in my.settings?
Example value in my.settings: 'SN-16-0002'.
In my query i just want the last 4 digit, pls help
I will appreciate your help.
Upvotes: 1
Views: 100
Reputation: 1705
Try this:
'value is 'SN-16-0002'
dim y = My.Settings.value.Substring(value.Length - 4)
Upvotes: 1