Home Explore Blog CI



nushell

7th chunk of `book/nushell_map_imperative.md`
386f4663981ea4a3badd2bd12994bc8d93441310bb8769d40000000100000a29
| [`skip while`](/commands/docs/skip_while.md)                                                                                           | `itertools.dropwhile`                |                                                             |                             | `skip_while`                                         |
| [`sort-by`](/commands/docs/sort-by.md)                                                                                                 | `sorted`, `list.sort`                | `sortedBy`, `sortedWith`, `Arrays.sort`, `Collections.sort` | `sort`                      | `sort`                                               |
| [`split row`](/commands/docs/split_row.md)                                                                                             | `str.split{,lines}`, `re.split`      | `split`                                                     | `views::split`              | `split`                                              |
| [`str`](/commands/docs/str.md)                                                                                                         | `str` functions                      | String functions                                            | String functions            | `&str`, String functions                             |
| [`str join`](/commands/docs/str_join.md)                                                                                               | `str.join`                           | `joinToString`                                              |                             | `join`                                               |
| [`str trim`](/commands/docs/str_trim.md)                                                                                               | `strip`, `rstrip`, `lstrip`          | `trim`, `trimStart`, `trimEnd`                              | Regex                       | `trim`, `trim*{start,end}`, `strip*{suffix,prefix}`  |
| [`math sum`](/commands/docs/math_sum.md)                                                                                               | `sum`                                | `sum`                                                       | `reduce`                    | `sum`                                                |
| [`to`](/commands/docs/to.md)                                                                                                           | `import csv`, `json`, `sqlite3`      |                                                             |                             |                                                      |

Title: Nu Command Equivalents in Other Languages (Continued)
Summary
This section continues to list Nu command equivalents in Python, Kotlin (Java), C++, and Rust, covering commands like `skip while`, `sort-by`, `split row`, `str`, `str join`, `str trim`, `math sum`, and `to`. It provides equivalent functions or methods for these commands in the listed languages.