Macaulay2 » Documentation
Packages » Macaulay2Doc » The Macaulay2 language » strings and nets » String ..< String
next | previous | forward | backward | up | index | toc

# String ..< String -- a sequence of consecutive strings, not including the endpoint

- Operator: ..<
- Usage:
    `s ..< t`
- Inputs:
  - s, a string
  - t, a string
- Outputs:
  - a sequence, the sequence of consecutive strings of the same length, from s to t, in lexicographic order, inclusive

## Description

    i1 : "a" ..< "z"

    o1 = (a, b, c, d, e, f, g, h, i, j, k, l, m, n, o, p, q, r, s, t, u, v, w, x,
         ------------------------------------------------------------------------
         y)

    o1 : Sequence

    i2 : "aa" ..< "ce"

    o2 = (aa, ab, ac, ad, ba, bb, bc, bd)

    o2 : Sequence

    i3 : "aaa" ..< "bcd"

    o3 = (aaa, aab, aac, aba, abb, abc)

    o3 : Sequence

    i4 : "佖" ..< "佥"

    o4 = (佖, 佗, 佘, 余, 佚, 佛, 作, 佝, 佞, 佟, 你, 佡, 佢, 佣, 佤)

    o4 : Sequence

## See also

- String .. String -- a sequence of consecutive strings

## Ways to use this method:

- String ..< String -- a sequence of consecutive strings, not including the endpoint

The source of this document is in /build/macaulay2-88fgJW/macaulay2-1.25.11+ds/M2/Macaulay2/packages/Macaulay2Doc/operators/dotdot.m2:213:0.