Libraryless. Click here for Pure Java version (1345L/9K).
1 | static S loadTextFile_trim(S fileName) {
|
2 | ret trim(loadTextFile(fileName)); |
3 | } |
4 | |
5 | static S loadTextFile_trim(File f, S defaultContents) {
|
6 | ret trim(loadTextFile(f, defaultContents)); |
7 | } |
8 | |
9 | sS loadTextFile_trim(File fileName) {
|
10 | return trim(loadTextFile(fileName)); |
11 | } |
12 | |
13 | sS loadTextFile_trim(S fileName, S defaultContents) {
|
14 | ret trim(loadTextFile(fileName, defaultContents)); |
15 | } |
Began life as a copy of #1001049
download show line numbers debug dex old transpilations
Travelled to 7 computer(s): bhatertpkbcr, cfunsshuasjs, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt
No comments. add comment
| Snippet ID: | #1022206 |
| Snippet name: | loadTextFile_trim |
| Eternal ID of this version: | #1022206/1 |
| Text MD5: | 6a122119068632a0f44a975ed934ff27 |
| Transpilation MD5: | 4c83382b3fdc965e617fdb46df44e811 |
| Author: | stefan |
| Category: | javax |
| Type: | JavaX fragment (include) |
| Public (visible to everyone): | Yes |
| Archived (hidden from active list): | No |
| Created/modified: | 2019-03-11 11:16:18 |
| Source code size: | 387 bytes / 15 lines |
| Pitched / IR pitched: | No / No |
| Views / Downloads: | 491 / 642 |
| Referenced in: | [show references] |