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: Dropping last digit Stata

From   Lok <>
Subject   st: Dropping last digit Stata
Date   Sat, 29 Jun 2013 13:25:09 +0200

I'm trying to delete the last digit of a variable. Right now the variables have 9 digits like: 12345678x with x being a number between 1 and 9. I would like it to be 12345678.

As a beginner to Stata, I was wondering if anybody could please offer some help.

I'm using Stata12SE on Osx.

With kind regards.

*   For searches and help try:

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