jmeter-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject [Bug 61759] New __changeCase function
Date Wed, 15 Nov 2017 20:07:29 GMT
https://bz.apache.org/bugzilla/show_bug.cgi?id=61759

Philippe Mouawad <p.mouawad@ubik-ingenierie.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |p.mouawad@ubik-ingenierie.c
                   |                            |om

--- Comment #4 from Philippe Mouawad <p.mouawad@ubik-ingenierie.com> ---
(In reply to Graham Russell from comment #3)
> Actually, I prefer:
> 
> __toUpper(string)
> __toLower(string)
> 
> which just return the result, rather than having another variable. Similar
> to __urlencode.

The aim was to avoid having too many functions.

I feel having a MODE (enum in Java) would be interesting as it would allow
adding modes without having to introduce new functions.

It is true that CAPITALIZE might be luxurious, but as it's available with
StringUtils and I had the need 2 or 3 times in my work I thought it might be
interesting.
We can also add CamelCase

-- 
You are receiving this mail because:
You are the assignee for the bug.
Mime
View raw message