Import function

I used function "Import " with element specifications-“Data”. It is the most convenient setting for me (at least it seems to me). It matches the imported columns up to my expectations, however I’d like one column which consists of integers only to be imported as strings instead of integers . So the question is that if it is possible to make an exemption to freeze default data format for integers while using above mentioned element specifications?

1 Like

In that case maybe you just want to use MapAt? For example:

data = ImportString["Erik 45\nRyan 65\nAlan 12", "Data"];
MapAt[ToString, data, {All, 2}]
1 Like

These do not work , anyway I thank for clues .

Perhaps if you clarify your question with a simplified example, then I can improve my answer.