Another question on manipulating strings.
I have a numeric field (N 10) and I want to take the last 5 characters
and include it in a field with other text.
e.g.
MyNewNum = "ABC" + Substr(str(MyNum),6,5) + 'XYZ'
to end up as : ABC00035XYZ (The 00035 is left zeroed MyNum)
How would this be done in c sharp.
Thanks in advance for any help.
Gerard
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only