Moved dual string to general library