Skip to content

New Built-in Method Suggestions #30

@twalmsley

Description

@twalmsley

Possibilities for the future:

  • %x.len - Get the string length
  • %x.head(n) - Extract the first n characters.
  • %x.tail(n) - Extract everything but the first n characters.
  • %x.after(s) - Extract everything after string s
  • %x.toptail - Remove the first and last characters, e.g. for quotes, brackets, etc.
  • %x.join(x,a,b,c...) - Return all params joined with x as the separator. If any param is an array then join the individual elements.
  • %x.split(c) - Create an array of parts of a string separated by char c.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions