Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hi Friends,
I have a column with data like "00125460014600-CD", i want to trim and the output should be in 12 digits "125460014600".
Means trim first 2 digits and last 3 digits. Please help me out.
Then,
Mid(DmdUnit,3, len(DmdUnit)-5)
Assuming that the data in the field would be of similar format.
Try this:
Mid('00125460014600-CD',3, len('00125460014600-CD')-5)
hi!!
try this!!
-------------------------------------------
mid('00125460014600',3,12)
-------------------------------------------
say if a column(DmdUnit) has n no of data , how can i use the above conversion?
say if a column(DmdUnit) has n no of data , how can i use the above conversion?
Then,
Mid(DmdUnit,3, len(DmdUnit)-5)
Assuming that the data in the field would be of similar format.
hi thank you for your replay!!!
how about this??
=left(right(DmdUnit,len(DmdUnit)-2),len(right(DmdUnit,len(DmdUnit)-2))-3)