Bookmark and Share

Notice: On March 31, it was announced that Statalist is moving from an email list to a forum. The old list will shut down on April 23, and its replacement, is already up and running.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

st: insheet and strings

From   Sonja Wehberg <>
To   "''" <>
Subject   st: insheet and strings
Date   Fri, 8 Mar 2013 14:12:39 +0100


I frequently use insheet. Unfortunately it sometimes converts string variables. Can I prevent that (without adding an alphanumeric suffix)?

Example (version 12):

input x str2 s
1 "04"
2 "10"
format s

outsheet using "test.csv", delim(";") replace
insheet using "test.csv", clear delim(";")
format s

Best regards

*   For searches and help try:

© Copyright 1996–2016 StataCorp LP   |   Terms of use   |   Privacy   |   Contact us   |   Site index