Remove the spaces at the end of a line starting from a fixed position

I want to remove the trailing spaces at the end of each line starting from a particular position(using ksh script). For example, in the attached file, I want to remove all the spaces starting from the position 430 till the end. The space has to be removed only from the 430th position no matter in which position the line ends. (This 430 is a fixed value).

Please help. Thanks in advance.

Hello,

I'm not sure whether I got you correctly. Is this what you are expecting?

 
awk '{ print susbstr($0,1,430) }' input_file

I assume , the file have only spaces after 430th character in the file.

cat file1.txt | cut -c 1-430 > file2.txt

Hi,
Thanks very much for your answer:). I used the following sed command which removes the blank spaces from the end of the line. sed 's/[ \t]*$//' file1.txt > file2.txt But the problem is that it started removing the spaces right from where it found a space.
For example, if there are no values in a particular line from 425th position, sed command removes the spaces starting from 425th itself. But my requirement is to remove the spaces from 430th position only.