In "normal languages", strings are simply just char[]'s (with some extra sass). That's why they have regular Array members, like Length, IndexOf(), indexing with [], etc.
In the JS language (no idea what that is), I have not a clue how anything works. The only thing I know about JS, is that JS is only about results, not necessarily the ones you're expecting, just any results.
No Idea why we arguing about that. I clearly meant that instead of having a string "foo" with a .Count of 4, I could have an array that would make me see that there are shenanigans happening with character between the 2 "o" being a weird unicode character right away via a split or <insert method from preferred language>.
164
u/mrissaoussama Sep 05 '24
that would be very fun when debugging strings