#461 add space method to mutablebuffer

v4.2.0
closed
Rick McGuire
None
complete
5
2014-04-15
2012-06-13
Rick McGuire
No

mutable buffer implements most of the string transformation methods. Space is a notable exception.

Discussion

  • U. Zinngrebe
    U. Zinngrebe
    2012-07-19

    Hi Rick,

    my personal preference is that

    mb ~ space()
    

    would edit the mutable buffer mb.

    Extracting values from the buffer for the purposes of
    examination can already be done by the classic function

         space( mb )
    

    Cheers, Uli

     
  • Dear Mr McGuire,
    I also lack the space method (and function) for Mutable Buffers. This is my current replacement
    tt = tt~translate(' ','0d0a09'x)~Changestr(' ',' ') / my own space method /
    Ugly but is works. a ~space would be more elegant!

     
  • Rick McGuire
    Rick McGuire
    2012-08-21

    • status: open --> accepted
    • assigned_to: Rick McGuire
    • pending_work_items: --> code+doc+test
    • milestone: --> v4.2.0
     
  • Rick McGuire
    Rick McGuire
    2012-08-22

    • status: accepted --> pending
    • pending_work_items: tests --> complete
     


Anonymous


Cancel   Add attachments