SAS Programming Day 15 | Character functions in SAS Part-1

Поділитися
Вставка
  • Опубліковано 9 лис 2024

КОМЕНТАРІ • 11

  • @rajeshnaidu172
    @rajeshnaidu172 3 роки тому

    Hello chandana.Hope you are doing well.Thanks for sharing your information it's really helpful to me.I have a question-
    Do we really need to keep a space in the compress function while using options and what is it for blank space within the commas after variable in the functions.

  • @ganeshghadi8283
    @ganeshghadi8283 4 роки тому

    Hello Chandana,
    Hope you are doing well.
    Your SAS videos are really helpful for me.Thanks so much sharing knowledge with us.
    Can You please share SDTM ,ADAM,TLF creation videos from scratch too.

  • @adityabatra8894
    @adityabatra8894 4 роки тому +2

    Please upload macro clases a nd clinical research videos

  • @imamsk43
    @imamsk43 2 роки тому

    it would be glad if u give datasets along with this vdeo

  • @ajaykushwaha-je6mw
    @ajaykushwaha-je6mw 4 роки тому

    Dear Chandana,
    Hope you are doing well.
    I have one question.
    suppose we have a variable x
    which consist both numerical and string values and we have
    seerate numeric from string and keep them in two seperate variable like
    Num: consist all numerical values and Str: contain all string values, how can we achive that.

    • @chandanaroy2399
      @chandanaroy2399  4 роки тому

      If i understood your question correctly, check the example below:
      data test;
      input Name$ Ph_num_state $20.;
      datalines;
      Ron +1 (908)235-4490 USA
      Bill +1 (201) 555-7799 USA
      run;
      data test;
      set test;
      Ph=COMPRESS(Ph_num_state, ,'kdp');
      city=COMPRESS(Ph_num_state, ,'ka');
      run;