how to remove white space from a value

Hello,
I am pulling a value from a file using this command,  I would then need to remove the white space from the value.

For example,
examplevalue=$(awk -F"\t" 'NR==30 {print $9}' $file )

Returns value
aaaa bbbb cccc

final value should look like this
aaaa-bbbb-cccc
bjeAsked:
Who is Participating?
 
ozoConnect With a Mentor Commented:
awk -F"\t" 'NR==30 {gsub(" ","-",$9);print $9}'
0
All Courses

From novice to tech pro — start learning today.