BookmarkSubscribeRSS Feed
nikunjgattani
Obsidian | Level 7

Hi All,

 

Below is the solution I got from a person in linkedin -

 

data youdata;
infile cards truncover;
input Column_Test $ 200.;
cards;
I have a string column named Column_Test which cotains text up to 200 characters
I have a string column named Column_Test which cotains text up to 2000000 as
I have a string column named Column_Test which cotains text up to 200 dfgt
I have a string column named Column_Test which cotains text up to 200 dfgty
;
run;


data mistyping;
length id 8. ;
set youdata;
id = _N_;
keep id;
if prxmatch('/[^aeiouAEIOU\s]{5,}/', Column_Test);
run;

 

Thank You all for trying to solve my problem.

How to Concatenate Values

Learn how use the CAT functions in SAS to join values from multiple variables into a single value.

Find more tutorials on the SAS Users YouTube channel.

SAS Training: Just a Click Away

 Ready to level-up your skills? Choose your own adventure.

Browse our catalog!

Discussion stats
  • 15 replies
  • 4328 views
  • 2 likes
  • 7 in conversation