W3cubDocs

/Pony

CommonPrefix

[Source]

Creates a string that is the common prefix of the supplied strings, possibly empty.

primitive val CommonPrefix

Constructors

create

[Source]

new val create()
: CommonPrefix val^

Returns

Public Functions

apply

[Source]

fun box apply(
  data: ReadSeq[Stringable box] box)
: String iso^

Parameters

Returns

eq

[Source]

fun box eq(
  that: CommonPrefix val)
: Bool val

Parameters

Returns

ne

[Source]

fun box ne(
  that: CommonPrefix val)
: Bool val

Parameters

Returns

© 2016-2018, The Pony Developers
© 2014-2015, Causality Ltd.
Licensed under the BSD 2-Clause License.
https://stdlib.ponylang.io/strings-CommonPrefix