mulder's it blog

  • Home
  • Tag
  • MediaLog
  • LocationLog
  • Guestbook
  • Admin
  • Write

String 1

javascript string extend function

오랜만에 javascript string 을 ... String.prototype.toHtml = function (){ return this.replace(new RegExp("", "g"), ">") .replace(new RegExp("\"", "g"), """); }; String.prototype.toText = function (){ return this.replace(new RegExp(" ", "ig"), "\r\n") .replace(new RegExp("<", "ig"), "") .replace(new RegExp("&", "ig"), "&"); };

프로그램/script 2011.02.01
이전
1
다음
더보기
프로필사진

mulder's it blog

github : https://github.com/mulderu gist : https://gist.github.com/mulderu

  • 분류 전체보기 (578)
    • cms (0)
      • wordpress (0)
    • Deep Learning (4)
    • Golf (9)
    • Good (18)
    • 프로그램 (35)
      • angularjs (2)
      • hybrid app (2)
      • web (13)
      • nosql (4)
      • spring (17)
      • joomla (2)
      • database (45)
      • jQuery (31)
      • 바로쓰는델파이 (5)
      • 델파이 (1)
      • script (70)
      • java (41)
      • struts 1.x (4)
      • struts 2.x (1)
      • flex (6)
      • android (2)
      • iphone (3)
      • ubuntu (10)
      • node (4)
      • websocket (1)
      • jeasyui (5)
      • python (2)
      • vuejs (3)
    • unix (30)
    • aws (7)
    • 윈도우즈 (6)
    • ASP (4)
    • 자전거홀릭 (13)
    • 링크 (2)
      • current (2)
    • 멀더가 사는 모습 (33)
    • 편하게 살자 (61)
    • 캠핑 (9)
    • zimbra (6)
    • tomcat (7)
    • mail (4)
    • private (0)
    • 맛집.멋집.스크랩 (3)
    • docker (1)

Tag

tomcat, AWS, SVN, SQLServer, spring, JavaScript, ant, ubuntu, EC2, 자전거, springMVC, easyui, jQuery, Find, bash, jquery widget, apache, MySQL, Java, Servlet,

최근글과 인기글

  • 최근글
  • 인기글

최근댓글

공지사항

  • 멀더의 세상에 대해서

페이스북 트위터 플러그인

  • Facebook
  • Twitter

Archives

Calendar

«   2026/01   »
일 월 화 수 목 금 토
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

방문자수Total

  • Today :
  • Yesterday :

Copyright © AXZ Corp. All rights reserved.

  • 멀더가 보는 세상
  • Jay's Laboratory
  • 조대협의 블로그

티스토리툴바