본문 바로가기
TIL

20231103 TIL

by 김빵그 2023. 11. 3.

Today 요약 

[] 프로그래머스 코딩테스트 2문제

[] dart 기초 강의 14개


배운 점

1. dart

1-1 StringBuffer class

  • 문자열을 효율적으로 연결하기 위한 클래스이다
  • 메소드를 사용해 문자열을 점진적으로 빌드 할 수 있음
final buffer = StringBuffer('DART');
print(buffer.length); // 4
 

StringBuffer class - dart:core library - Dart API

A class for concatenating strings efficiently. Allows for the incremental building of a string using write*() methods. The strings are concatenated to a single string only when toString is called. Example: final buffer = StringBuffer('DART'); print(buffer.

api.dart.dev

1-2 dart 줄바꿈 

\n

'TIL' 카테고리의 다른 글

20231109 TIL  (2) 2023.11.09
20231106 TIL  (0) 2023.11.06
20231102 TIL  (0) 2023.11.02
20231101 TIL  (1) 2023.11.01
20231030 TIL  (1) 2023.10.30