답변 2개
채택된 답변
+20 포인트
8년 전
</p><p><font color="#333333" size="2" style="background-color: rgb(247, 247, 247);">// 마지막 콤마 ","짜르는 방법</font></p><p><font color="#333333" size="2" style="background-color: rgb(247, 247, 247);">$str_num = "1,2,3,4,5,6," ;</font></p><p><font color="#333333" size="2" style="background-color: rgb(247, 247, 247);">$str_num = substring($str_num, 1 , strlen($str_num)-1);</font></p><p>
간단한 예제입니다. 마지막의 콤마를 짜를수 있습니다.
로그인 후 평가할 수 있습니다
댓글을 작성하려면 로그인이 필요합니다.
답변을 작성하려면 로그인이 필요합니다.
로그인