Talk:Remove vowels from a string
Remove ???? from a string ?
Perhaps worth fleshing this out a bit, to the point where it's more clearly defined, and not too parochially restricted to the small Anglo-Saxon subset of Roman scripts, let alone scripts in general ?
Removing a defined subset of glyphs from a string seems interesting, but what do we want the meaning of vowel to be here in terms of the accented vowels used by most Roman scripts, or in the terms of South Asian scripts, Levantine scripts, CJK, Cyrillic, and, in the context of the Rosetta Stone which gives its name to this page, and is displayed in one corner of it, Greek, Demotic, and Hieroglyphic ? Hout (talk) 09:20, 26 July 2020 (UTC)
- Whatever we name it, many of the implementations do not create another string minus the glyphs, they simply output a series of characters omitting the glyphs. The description appears to require a new string to be constructed, or the original string to be modified. -- Adadaddy ([[User talk:Adadaddy|talk}}) 18:08, 30 January 2021 (UTC)
- The task description should probably be Remove a defined subset of glyphs from a string. Knowing RC we'll probably have a task Remove consonants from a string next week. Then RC would not need to be too worried about the definition of vowel.--Nigel Galloway (talk) 15:14, 13 August 2020 (UTC)
- Sigh. You aren't wrong. We already have Strip control codes and extended characters from a string and XXXX redacted which are essentially this same operation with minuscule differences in which characters to remove. --Thundergnat (talk) 18:07, 13 August 2020 (UTC)
- I propose then, that we rename it, as Nigel suggests, to Remove a defined subset of glyphs from a string, and provide a fractionally less minimal description, requiring that the particular exclusion list is specified and parameterised.
- That should, at least, forestall any further trivial variants, without imposing much (or any) editing on the existing drafts. Hout (talk) 19:05, 13 August 2020 (UTC)