G
Guest
Hey,
Can someone help me to find a short and effective way to do the follow.
I have
Number1 as integer = 234
Number2 as integer = 5645
I want to create a string as follows (it is an obligatoire format for the
banks):
+++123/4567/89012+++
My example :
Number1 I want to present in a 5 char string, but left aligned with 0
Number 2 the same
as follows : 0023405645
from that int I have to calculate the MODULO 97 = 30
Now the string must be in following format
+++002/3405/64530+++
I looked in regex but don't find a good way to do it.
Thanks for help.
jac
Can someone help me to find a short and effective way to do the follow.
I have
Number1 as integer = 234
Number2 as integer = 5645
I want to create a string as follows (it is an obligatoire format for the
banks):
+++123/4567/89012+++
My example :
Number1 I want to present in a 5 char string, but left aligned with 0
Number 2 the same
as follows : 0023405645
from that int I have to calculate the MODULO 97 = 30
Now the string must be in following format
+++002/3405/64530+++
I looked in regex but don't find a good way to do it.
Thanks for help.
jac