aboutsummaryrefslogtreecommitdiff
path: root/core/strings/strings.odin
Commit message (Collapse)AuthorAgeFilesLines
* Improve `strings.index_any` and `strings.last_index_any`gingerBill2021-08-271-11/+60
|
* Change to `strings.clone_from_cstring_bounded`gingerBill2021-08-211-11/+1
|
* Add `strings.clone_from` and `strings.clone_from_nul_terminated`gingerBill2021-08-211-0/+44
|
* string.cut uses context.allocator by default.Jeroen van Rijn2021-08-021-2/+2
|
* Add `strings.cut`, which returns a substring.Jeroen van Rijn2021-08-011-0/+34
|
* Core library clean up: Make range expressions more consistent and replace ↵gingerBill2021-06-141-1/+1
| | | | uses of `..` with `..=`
* Add `bytes.remove`, `bytes.remove_all`, `strings.remove`, `strings.remove_all`gingerBill2021-05-231-0/+8
|
* Add truncate_to_byte and truncate_to_rune for packages strings and bytesgingerBill2021-04-221-0/+15
|
* `split*_iterator` procedures for package bytes and stringsgingerBill2021-03-181-0/+115
|
* Replace usage of `inline proc` with `#force_inline proc` in the core librarygingerBill2021-02-231-4/+4
|
* Fix typosgingerBill2020-12-041-3/+4
|
* Remove buffered typegingerBill2020-12-041-9/+4
|
* Add `strings.fields` and `strings.fields_proc`gingerBill2020-12-041-3/+96
|
* Improve packages io and strings; add io.Section_ReadergingerBill2020-12-031-14/+22
|
* Integrate `package io` into core librarygingerBill2020-12-031-5/+10
|
* Minor fixesgingerBill2020-11-171-1/+1
|
* Fix import pathsgingerBill2020-11-121-1/+0
|
* Reorganize package stringsgingerBill2020-11-121-255/+0
|
* Add new package strings procedures: trim_prefix, trim_suffix, to_valid_utf8gingerBill2020-10-161-0/+69
|
* Remove usage of `do` in core librarygingerBill2020-09-231-3/+9
|
* Fix new `package path`gingerBill2020-07-101-140/+71
|
* Merge pull request #339 from dotbmp/mastergingerBill2020-07-101-0/+150
|\ | | | | "core:path" Path library and "core:strings" `split` Utilities
| * Merge branch 'master' into masterBrendan Punsky2019-03-181-1/+200
| |\
| * \ Merge branch 'master' into masterBrendan Punsky2019-03-131-0/+17
| |\ \
| * | | Oops, I forgot to stage core/strings/strings.odinBrendan Punsky2019-02-121-0/+149
| | | |
* | | | Add #caller_location to `strings.clone`; remove deprecated procedures in ↵gingerBill2020-06-081-25/+4
| | | | | | | | | | | | | | | | `package strings`
* | | | Fix -vet for stringsgingerBill2020-05-241-4/+8
| | | |
* | | | Update strings case convertors to be unicode compliantgingerBill2020-05-241-157/+167
| | | |
* | | | Change spaces to tabsgingerBill2020-05-241-178/+179
| | | |
* | | | Add case conversions by @dotbmpMikkel Hjortshoej2020-05-241-0/+186
| | | |
* | | | `x if cond else y` and `x when cond else y` expressionsgingerBill2020-03-051-1/+1
| | | |
* | | | Fix #552.Tetralux2020-02-121-0/+2
| | | | | | | | | | | | | | | | | | | | - Fix comparisons involving one or more empty string. - Fix comparisons against two strings of different lengths.
* | | | Add `strings.ptr_from_string`gingerBill2019-12-011-0/+4
| | | |
* | | | Add `strings.unsafe_string_to_cstring`gingerBill2019-12-011-0/+6
| | | |
* | | | Make the `string` type elements "immutable", akin to `char const *` in CgingerBill2019-12-011-14/+14
| | | | | | | | | | | | | | | | Allows for extra security and optimization benefits
* | | | fix string reversalHasen Judy2019-11-131-1/+2
| | | |
* | | | Fix typos and make demo work with -vetgingerBill2019-10-081-3/+3
| | | |
* | | | strings.split; strings.index; eprint* over print*_err;gingerBill2019-10-061-3/+147
| | | |
* | | | Make procedure parameters just named values rather than copied variablesgingerBill2019-07-151-18/+26
| |_|/ |/| |
* | | Improve package stringsgingerBill2019-03-151-1/+199
| |/ |/|
* | Add win32.get_cwd to return the current working directoryJeroen van Rijn2019-03-091-0/+17
|/
* Remove dead codegingerBill2019-01-241-0/+5
|
* Vet core librarygingerBill2018-12-311-4/+4
|
* Fix `join` and `concatenate` to use the supplied allocatorgingerBill2018-12-261-2/+2
|
* Update `package strings`gingerBill2018-12-261-4/+444
|
* Reduce number of range and slice operators #239gingerBill2018-08-011-1/+1
| | | | Replace .. and ... with : and ..
* Remove special shared scope for runtime stuffgingerBill2018-06-031-2/+2
|
* Remove unused packagesgingerBill2018-05-271-1/+0
|
* Parse directories to be packagesgingerBill2018-05-211-0/+34