string '1234' 를 8자로 만들 때 '00001234'로 0으로 채워넣고 싶을 때

(padding 한다고 할 수 있다)

value = value.PadLeft(8, '0'); //참 쉽죠

by 무위자연 2017. 8. 19. 22:06