Category talk:Wren-str: Difference between revisions
Content added Content deleted
(→Source code: Improved the coverage of the 'lower' and 'upper' methods and added 'capitalize' and 'title' methods to the Utf8 class.) |
(Bug fix) |
||
Line 825: | Line 825: | ||
c == 0x01A1 || c == 0x01B0 || c == 0x01F5) { |
c == 0x01A1 || c == 0x01B0 || c == 0x01F5) { |
||
chars[i] = String.fromCodePoint(c - 1) |
chars[i] = String.fromCodePoint(c - 1) |
||
} else if ((i == 0) && (c == 0x01C4 || c == 0x01C7 || c == 0x01CA || c == 0x01F1)) { |
|||
chars[i] = String.fromCodePoint(c + 1) |
|||
} else if ((i > 0) && (c == 0x01C5 || c == 0x01C8 || c == 0x01CB || c == 0x01F2)) { |
} else if ((i > 0) && (c == 0x01C5 || c == 0x01C8 || c == 0x01CB || c == 0x01F2)) { |
||
chars[i] = String.fromCodePoint(c - 1) |
chars[i] = String.fromCodePoint(c - 1) |