Consider renaming `to_str(array)` and `to_array(str)` to `str_split` and `array_join` respectively.
See original GitHub issueto_str(array, delimiter)
and to_array(str, delimiter)
are, at a glance, consistent with other conversion/constructor functions, but to_array(str, delimiter)
is an odd and undisoverable way of naming a string-splitting function, and str_split()
would be a better name. On the other hand, to_str(array, delimiter)
has a better claim at being similar to other “formatting” functions, but is also distinct in that it converts a collection type into a scalar type, so naming it array_join
would not be too bad.
Issue Analytics
- State:
- Created 3 years ago
- Reactions:1
- Comments:8 (8 by maintainers)
Top Results From Across the Web
First entry from string split - Stack Overflow
I've got a column people$food that has entries like chocolate or apple-orange-strawberry . I want to split people$food by - ...
Read more >strsplit: Split the Elements of a Character Vector - Rdrr.io
Split the elements of a character vector x into substrings according to the matches to substring split within them. Usage. strsplit(x, split, fixed...
Read more >MATLAB strsplit - MathWorks United Kingdom
Split a character vector on ' ' and 'ain' , treating multiple delimiters as one. Specify multiple delimiters in a cell array of...
Read more >Path definition - Forum - bpmn.io
activateTab = function(tab) { var tabId = typeof tab === 'string' ? tab : tab.id; ... else // Adding the second element, need...
Read more >Functional JavaScript.pdf - WordPress.com
toArray (arguments)); ... reasons to think hard about the adoption of JavaScript. ... var str = dispatch(invoker('toString', Array.prototype.toString),.
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Sure, I will do it today.
https://github.com/edgedb/edgedb/tree/master/edb/lib
Basically you need to update signatures there and then fix all tests & docs. If this isn’t done today somebody will pick this up tomorrow as we have a release on Wednesday.