/* $DOC$ $NAME$ CharMix() $CATEGORY$ CT3 string functions $ONELINER$ Mix two strings $SYNTAX$ CharMix( [, ] ) --> cMixedString $ARGUMENTS$ String that will be mixed with the characters from [] String whose characters will be mixed with the one from . Default: " " (string with one space char) $RETURNS$ Mixed string $DESCRIPTION$ The CharMix() function mixes the strings and . To do this it takes one character after the other alternatively from and and puts them in the output string. This procedure is stopped when the end of is reached. If is shorter than , the function will start at the begin of again. If on the other hand is longer than , the surplus characters will be omitted. $EXAMPLES$ ? CharMix( "ABC", "123" ) // "A1B2C3" ? CharMix( "ABCDE", "12" ) // "A1B2C1D2E1" ? CharMix( "AB", "12345" ) // "A1B2" ? CharMix( "HELLO", " " ) // "H E L L O " ? CharMix( "HELLO", "" ) // "HELLO" $STATUS$ Ready $COMPLIANCE$ CharMix() is compatible with CT3's CharMix(). NOTE: CA-Tools version of CharMix() will hang if the second parameter is an empty string, this version will not. $PLATFORMS$ All $FILES$ Library is hbct. $SEEALSO$ CharEven(), CharOdd() $END$ */