vivekj2004
asked on
C# array manipulation
I need a string with concatenated "status code" and "reason code". Both should be concatenated as shown following. If Status code and reason codes are less than 2 characters, they should be left alligned and a space should be left... If they are more than 2 characters, they should be truncated to 2 characters.
Example:
If account has following status reason codes:
Status Code--Reason Code
AA -- Y
BU -- CD
B -- 9
The result string is “AAY BUCDB 9 “
Example:
If account has following status reason codes:
Status Code--Reason Code
AA -- Y
BU -- CD
B -- 9
The result string is “AAY BUCDB 9 “
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER