ms sql 엔터 값 찾기
Select top 100 NO,replace(LIMIT_N,CHAR(13)+CHAR(10),”)as LIMIT_N FROM [SALES] where patindex(‘%’+CHAR(13)+CHAR(10)+’%’,LIMIT_N) > 0 LIMIT_N : 컬럼명
Select top 100 NO,replace(LIMIT_N,CHAR(13)+CHAR(10),”)as LIMIT_N FROM [SALES] where patindex(‘%’+CHAR(13)+CHAR(10)+’%’,LIMIT_N) > 0 LIMIT_N : 컬럼명
대문자 2글자 추출
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 |
using System; using System.Text.RegularExpressions; class Program { static void Main() { // Part 1: the input string. string input = "abcABC1234567ㅏㅣ"; // Part 2: call Regex.Match. Match match = Regex.Match(input, @"[A-Z]{2}", RegexOptions.IgnoreCase); // Part 3: check the Match for Success. if (match.Success) { // Part 4: get the Group value and display it. string key = match.Groups[0].Value; Console.WriteLine(key); } } } //AB |
다음은 숫자만 추출할때 쓰면 된다. 반드시 숫자가 하나이상 있어야 됨.
1 2 3 4 5 6 7 |
using System.Text.RegularExpressions;</code> string strText = "abc1234567ㅏㅣ" string strNum = ""; strNum = Regex.Replace(strText, @"\D", ""); |
=> 1234567 닷넷 정규식에서 \d는 숫자. \D는 숫자가 아닌 문자를 […]
c# – Append XML string block to existing XmlDocument – Stack Overflow.
HP Communities – HP xw4300 workstation Windows XP installation fail… – Enterprise Business Community.
hadoop 다운로드 : Index of /hadoop/common/hadoop-1.1.2. single node 세팅 방법 : http://www.michael-noll.com/tutorials/running-hadoop-on-ubuntu-linux-single-node-cluster/
① 한글만 입력(자판이 영문모드여도 자동으로 한글 전환)
1 2 3 |
style='ime-mode:active' |
② 영문만 입력(자판이 한글모드여도 자동으로 영문 전환)
1 2 3 |
style='ime-mode:inactive' |
③ 한/영 전환가
1 2 3 |
style='ime-mode:auto' |
④ 한글사용불가
1 2 3 |
style='ime-mode:disabled' |
⑤ 한글모드 […]
Copyright © 2024 | WordPress Theme by MH Themes