UpperAlph1 Powershell 에서 문자에 대한 ascii 값 확인 A~Z 리스트 구하기 Powershell 에서 다음과 같이 char에 대한 ascii 값을 확인 할 수 있습니다. PS C:\Users\kdjang> [byte][char]'a' 97 PS C:\Users\kdjang> [byte][char]'z' 122 PS C:\Users\kdjang> [byte][char]'A' 65 PS C:\Users\kdjang> [byte][char]'Z' 90 위 값을 사용하면 a~z, A~Z 에 대란 리스트를 간단하게 만들 수 있겠죠~ $UpperAlph=@() 65..90|foreach-object{$UpperAlph+=[char]$_} $UpperAlph $LowerAlph=@() 97..122|foreach-object{$LowerAlph+=[char]$_} $LowerAlph 2016. 10. 18. 이전 1 다음