I second the response-- use $len($gettok(%test,1,44)). Functions like these are made to be focused and composable in this way.