Announcement

Collapse
No announcement yet.
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • lower what does mean?

    hi friends. please help me to understand this code. what does mean lower?
    gen cityname2=lower(cityofprop)+", "+ lower(stateofprop)

  • #2
    We have "lower" for getting lower case and "upper" for upper case. Please keep in mind Stata is case sensitive.
    Best regards,

    Marcos

    Comment


    • #3
      Code:
      . gen var2=lower(var1)
      . gen var3=upper(var1)
      . list
           +-----------------------------------+
           |      var1        var2        var3 |
           |-----------------------------------|
        1. | SomeThINg   something   SOMETHING |
        2. | soMetHIng   something   SOMETHING |
           +-----------------------------------+

      Comment

      Working...
      X