Happy DAXing!

블로그 이미지

Isaac Lee

Microsoft Dynamics AX

문자열에서 숫자만 남기기

Microsoft Dynamics AX 2011. 6. 3. 10:59
여러가지 다양한 문자를 포함하는 문자열에서 숫자만 남기고 모두 제거하는 방법입니다. 아래 구문을 Job에서 테스트 해보시면 "2343@#$asdf25^&&가나다라" 가 숫자인 "234325" 만 출력됩니다.
.NET 함수를 Dynamics AX에서 사용했으며 Dynamics AX 2009에서도 동작합니다.

static void methodTest1(Args _args)
{
    str strTmp = "2343@#$asdf25^&&가나다라";
    strTmp = System.Text.RegularExpressions.Regex::Replace(strTmp,@"\D","");
    print strTmp;
    pause;
}

저작자표시 비영리 (새창열림)

'Microsoft Dynamics AX' 카테고리의 다른 글

Microsoft Dynamics AX 2012 Official Manual  (10) 2013.03.07
KPIs 나 Business Overview 가 표시(로딩)되지 않을 때  (0) 2011.10.19
외부 프로그램 실행시키기  (0) 2011.06.09
Posted by Isaac Lee
블로그 이미지

Microsoft Dynamics AX

by Isaac Lee

공지사항

    최근...

  • 포스트
  • 댓글
  • 트랙백
  • 더 보기

태그

  • InventTransferJournal
  • bginfo
  • AX 2012
  • Dynamics AX 2012
  • DynamicsAX 2012
  • Role Center
  • Windows Server 2012
  • Hotfix 2680186
  • 단축키
  • AX2012
  • System Requirement
  • Microsoft Dynamics AX
  • AX 2009
  • SSRS
  • development
  • SQL Server 2012
  • SQL 서버 분석 서비스 프로젝트 마법사
  • Dynamics AX 2012 R2
  • Build 937
  • View Detail
  • AX
  • Exchange 2013
  • 재고이동 분개장
  • Sharepoint 2013
  • Lync 2013
  • Windows Server
  • AX 2012 R2
  • AX2009
  • AX 2012 Feature Pack
  • Office 2013

글 보관함

«   2025/07   »
일 월 화 수 목 금 토
1 2 3 4 5
6 7 8 9 10 11 12
13 14 15 16 17 18 19
20 21 22 23 24 25 26
27 28 29 30 31

링크

카테고리

분류 전체보기 (63)
Microsoft Dynamics AX (50)
AX 2009 (7)
AX 2012 (39)
Microsoft Windows (10)
Others (3)

카운터

Total
Today
Yesterday
방명록 : 관리자 : 글쓰기
Isaac Lee's Blog is powered by daumkakao
Skin info material T Mark3 by 뭐하라
favicon

Happy DAXing!

Microsoft Dynamics AX

  • 태그
  • 링크 추가
  • 방명록

관리자 메뉴

  • 관리자 모드
  • 글쓰기
  • 분류 전체보기 (63)
    • Microsoft Dynamics AX (50)
      • AX 2009 (7)
      • AX 2012 (39)
    • Microsoft Windows (10)
    • Others (3)

카테고리

PC화면 보기 티스토리 Daum

티스토리툴바