You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The question is this: Design or Flaw?
How should a string like 'Managed Service' be understood in the first place?
As one word with an internal space or two distinct ones separated by space.
The camelcase function should actually replace spaces, though according to code.
Yet, related is the following behavior, clearly a bug: TitleCase duplicates spaces for me.
'Managed . Service' => Managed .. Service'
(dots mean spaces here for better legibility.)
As titlecase() wraps camelcase().
Similar errors for other functions wrapping camelcase()
This is pretty easy to reproduce, but my specific test case is 'Managed Service' => 'managed Service'
The text was updated successfully, but these errors were encountered: