Alternate characters in upper and lower case
Ex -
mumbai
MuMbAi
Alternate characters in upper and lower case
Ex -
mumbai
MuMbAi
Hi,
Can you try the following?
String.Join("",yourString.Select(function(c,i) if(i Mod 2 =0,c.ToString.ToUpper,c.ToString.ToLower)))
Regards,
What’s the other way without using the Lamba function?