Extract cardToRankSuitString() function.

Authored by shlomif on Mar 8 2019, 11:29 AM.