[eiffel.org] A String Editing Class

13 views
Skip to first unread message

Finnian Reilly

unread,
Oct 15, 2018, 6:38:10 AM10/15/18
to Eiffel Users

Introducing Class EL_STRING_EDITOR

I have added a new class EL_STRING_EDITOR to Eiffel-Loop that is very useful when you want to edit the contents of a string between all occurrences of a pair of delimiters.


A typical application is editing the text between markup tags. The beauty of this class is an agent routine allows you edit all delimited sections as an isolated string. The routine for_each takes care of incorporating the edits into the target string.

It has been added to github but is not yet part of any release.


Reply all
Reply to author
Forward
0 new messages