delimiter-prefixed string

from HTYP, the free directory anyone can edit if they can prove to me that they're not a spambot
Revision as of 19:50, 28 September 2019 by Woozle (talk | contribs) (Created page with "<hide> page type::article thing type::coding pattern </hide> ==About== In coding, a segmented string is a string value that contains multiple substrings of variabl...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

About

In coding, a segmented string is a string value that contains multiple substrings of variable length divided by a specific character. This is the most generally useful when the dividing character is defined as the first character in the string, so that the dividing character does not have to be set or passed separately. This makes it possible to store lists of short strings as a single value.

Examples:

  • "/one/two/three/four"
  • "/Monday/Tuesday/Wednesday/Thursday/Friday/Saturday/Sunday"