Code:
$UID=Split(ReadLine(1),"~")

$USERNAME=$UID[0]
$USRNAME=$UID[1]