delimiter-prefixed string
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...")
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"