GREETINGS FROM iSTANBUL

Salih Dincer salihdb at hotmail.com
Sun Aug 1 18:47:08 UTC 2021


On Sunday, 1 August 2021 at 18:22:05 UTC, Paul Backus wrote:
> On Sunday, 1 August 2021 at 17:56:00 UTC, rikki cattermole 
> wrote:
>> It appears you are using the wrong lowercase character.
>>
I think so too, here's the proof:
```d
import std.string, std.stdio;

void main()
{
   auto istanbul = "\u0131stanbul";
   enum capitalized = "Istanbul";
   assert(istanbul.capitalize == capitalized);
   assert("istanbul".capitalize == capitalized);
}
```
Different characters but same and seamless results...


More information about the Digitalmars-d-learn mailing list