Functions and CALL Routines |
Valid in: | DATA step, PROC SQL, and SCL |
Syntax | |
Arguments | |
Details | |
Example | |
See Also |
Syntax |
DQLOCALEGUESS (char,'locale-guess-definition') |
specifies a character constant, variable, or expression that contains the value that is analyzed to determine the locale, according to the specified guess definition.
specifies a character constant, variable, or expression that contains the locale-guess-definition.
Details |
The DQLOCALEGUESS function evaluates the input character value using the specified locale guess definition in each of the locales that are loaded into memory. An applicability score is generated for each locale in the locale list. If multiple locales hold the highest score definition, or none of the locales have the guess definition, the return value is the first locale in the locale list. The name of the locale that is returned depends on which locales are loaded into memory.
Example |
The following example returns the name of a locale as the value of LOC.
loc=dqLocaleGuess('101 N. Main Street', 'Address');
See Also |
Function: |
Copyright © 2010 by SAS Institute Inc., Cary, NC, USA. All rights reserved.