class EL_SPLIT_ON_STRING_CURSOR
EL_ITERABLE_SPLIT_CURSOR implemented with READABLE_STRING_GENERAL separator
note
description: "[
${EL_ITERABLE_SPLIT_CURSOR} implemented with ${READABLE_STRING_GENERAL} separator
]"
author: "Finnian Reilly"
copyright: "Copyright (c) 2001-2022 Finnian Reilly"
contact: "finnian at eiffel hyphen loop dot com"
license: "MIT license (See: en.wikipedia.org/wiki/MIT_License)"
date: "2024-01-20 19:18:25 GMT (Saturday 20th January 2024)"
revision: "5"
class
EL_SPLIT_ON_STRING_CURSOR [S -> READABLE_STRING_GENERAL]
inherit
EL_ITERABLE_SPLIT_CURSOR [S, READABLE_STRING_GENERAL]
create
make
feature {NONE} -- Implementation
set_separator_start
do
separator_start := target.substring_index (separator, separator_end + 1)
end
separator_count: INTEGER
do
Result := separator.count
end
end