You're going to need to tell us more about what you want.
What kind of row are we talking about? A row in a
relational database? A line on a terminal or console?
(What kind? ANSI?) A row in a table in a widget?
(What widget set? Tk? Gtk? Win32? Qt? Wx? Xaw3D?)
A row in a table in a web page?
A row in a table in an OpenOffice document?
A row of LEDs on one of those cool computer-controlled
signs? A row of pixels on your monitor?
Also, by selected, do you mean that your program has in
some fashion selected this row for highlighting, or is
this something the user has selected using the keyboard
or mouse?
$;=sub{$/};@;=map{my($a,$b)=($_,$;);$;=sub{$a.$b->()}}
split//,".rekcah lreP rehtona tsuJ";$\=$ ;->();print$/