Read flat file upto certain number of columns

Hello Guys

Please help me with the below issue

I want to read a flat file source upto certain number of columns
Say my flat file has 30 columns but I want to read upto 25 columns only

How come the above issue can be addressed?

Thanks a lot!!!!

I have given space as a delimiter here ..

$ cut -d' ' -f1-25 < infile