15.11.2021, 18:27 | #1 |
Участник
|
a33ik: String character looping X++
Источник: http://daxonline.org/1733-string-cha...looping-x.html
============== Sometimes you come across offbeat requirements. One such was to iterate over characters of string to perform a particular operation. I googled and came across many examples of C#, small journey began to use CLR types for this operation using System.String but again it didn't feel right. Then there was much simpler thought, which uses a native x++ function called subStr() to return each character. <div> <div>for (int i = 1; i |
|