rgbcof
asked on
perl, how to populate a string with fix spaces
$fname = "James";
$lname = "Hill";
$status = "single";
# How to populate a string so that all the first name and last name line up.
# Assume I am using fix font. Output would look like that.
" James Hill single "
" Charles Dancy married "
$lname = "Hill";
$status = "single";
# How to populate a string so that all the first name and last name line up.
# Assume I am using fix font. Output would look like that.
" James Hill single "
" Charles Dancy married "
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER