[Auto Lisp / Excel / ±âŸ °ÇÃà°ú ÄÄÇ»ÅÍ¿¡ °ü·ÃµÈ »çÇ×]

    1  2    ·Î±×ÀÎ  °¡ÀÔ
ù±ÛÀÚ¸¦ ´ë¹®ÀÚ·Î º¯°æÇÏ´Â ÇÁ·Î±×·¥
ÀÌ ¸§ °­»ç  
Á¶ ȸ 1,651
±ÛÀÚÅ©±â
(defun text-first-upcase (strs / newstrs )
  (setq newstrs (strcase (substr strs 1 1))
        strs (substr strs 2)
  )        
  (while (/= "" strs)
    (if (wcmatch (substr strs 1 2) " ?")
      (setq newstrs (strcat newstrs (strcase (substr strs 1 2)))
            strs    (substr strs 3)
      )            
      (setq newstrs (strcat newstrs (strcase (substr strs 1 1) t))
            strs    (substr strs 2)
      )
    )
  )
  newstrs
)

(defun texts-first-upcase (  / ss n t-ent)
  (setq ss (ssget '((0 . "text")))
        n 0
  )        
  (if ss
    (progn
      (repeat (sslength ss)
        (setq t-ent (entget (ssname ss n)))
        (entmod (subst (cons 1 (text-first-upcase (cdr (assoc 1 t-ent)))) (assoc 1 t-ent) t-ent))
        (setq n (1+ n))
      )
    )
  )
)

* °­»ç´Ô¿¡ ÀÇÇؼ­ °Ô½Ã¹° À̵¿µÇ¾ú½À´Ï´Ù (2004-08-19 20:04)
choijm67
 °­»ç  (2004-07-19 12:15:38 / 211.212.223.40)  
ȨÆäÀÌÁö¿¡¼­ °¡Á®¿Â ¼Ò½º¸¦ ¼öÁ¤Çؼ­ »ç¿ëÇϼ¼¿ä ¸í·É¾î¸¦ ¹Ù²Ù¾î¼­ ÀúÀåÇؼ­ ºÒ·¯¿À´Â ¹æ¹ý¿¡ ´ëÇÑ ¿¬½ÀÀ» Çغ¸½Ã±â ¹Ù¶ø´Ï´Ù.
(defun texts-first-upcase) <- ÇöÀçÀÇ ¸í·É¾î
ºÐ·ù
¹øÈ£ Á¦¸ñ À̸§º¸±â
29    [re] ijµå ±âÃÊ °­Á ³ìÈ­ ¹æ¼Û ÁøÇà-ijµå ±âÃÊ°­Á ¸éÀû±¸ÇÏ±â   À̼ö¿¬2085
28  ·¹À̾ ÄÑ°í ²ô´Â ¸®½À   ¹èÀçÀÏ2567
27  ¼±ÀÇ ±æÀ̸¦ text·Î ³Ö¾îÁִ°͠+2  ¹èÀçÀÏ6218
26  Ä³µå¿¡¼­ ¿©·¯°³µµ¸é ¶ç¿ö³õ°í º¸´Â ÇÁ·Î±×·¥ docbar +2  ±è±æÁØ4345
25  Auto LispÀ¸·Î ¸¸µé¾îÁø ÇÁ·Î±×·¥ÀÇ ¸í·É¾î¸¦ È®ÀÎÇÏ´Â ¹æ¹ý +1  °­»ç3653
24  È¨ÆäÀÌÁö¿¡ ÀÖ´Â LispÀ» »ç¿ëÇÏ´Â ¹æ¹ý +1  °­»ç2626
23  °£´ÜÇÑ Ã¢¹®À» ±×¸®´Â ÇÁ·Î±×·¥   °­»ç5884
 Ã¹±ÛÀÚ¸¦ ´ë¹®ÀÚ·Î º¯°æÇÏ´Â ÇÁ·Î±×·¥ +1  °­»ç1651
21  ÀÌ¹Ì ½áÁø ±ÛÀÚ Å©±â¸¦ º¯°æÇÏ´Â ÇÁ·Î±×·¥   °­»ç5186
20  ÀԸ鿡 ·¹º§Ç¥½Ã / Æò¸é¿¡ ·¹º§ Ç¥½ÃÇØÁÖ´Â ÇÁ·Î±×·¥-lem +6  °­»ç8334
19  ÀÚÁÖ»ç¿ëµÇ´Â ·¹À̾ Á¦¾îÇÏ´Â Lisp(onekey.lsp)/¿øÅ° +3  °­»ç7841
18  ¹®±×¸®´Â ÇÁ·Î±×·¥ +5  °­»ç2423
17  °è´Ü±×¸®´Â ÇÁ·Î±×·¥ÀÔ´Ï´Ù. +2  °­»ç17126
16  ¸éÀûÀ» ±¸ÇÏ´Â ÇÁ·Î±×·¥/ijµå ¸éÀû±¸Çϴ¹ý +3  °­»ç8871
15  ¸®½À°­Á ȨÆäÀÌÁö ^-^   °­»ç2616
14  º®Ã¼¸¦ ±×¸®´Â ÇÁ·Î±×·¥-wa +1  °­»ç6752
13  Open ÀÇ X Ç¥½Ã   °­»ç2039
12  °ÇÃà°ú ÀÎÅ׸®¾î¿¡¼­ ÄÄÇ»Å͸¦ Åø(Tool)·Î ¾Ë¾ÆµÎ¾î¾ß ÇÒ »çÇ× Á¤¸® +1  °­»ç2501
11  ´Ü¿­Àç±×¸®´Â ÇÁ·Î±×·¥   °­»ç9955
 ÇÁ·Î±×·¥À» ´Ù¿î¹ÞÀ»¶§ ¾ÈµÇ¸é   °­»ç2320
Copyright 1999-2025 Zeroboard / skin by SIRINI

[ äÆÃâ Å©°Ôº¸±â ] ¡á ÀÌ°÷Àº ½Ç½Ã°£ äÆà âÀÔ´Ï´Ù. ÀÚÀ¯·Î¿î ÀÇ°ß ³ª´©½Ã±â ¹Ù¶ø´Ï´Ù.[ 2025-01-26 ] ¡á