Sfoglia il codice sorgente

部分代码整理

master
SisMaker 4 anni fa
parent
commit
3f5da446be
1 ha cambiato i file con 2 aggiunte e 2 eliminazioni
  1. +2
    -2
      src/dataType/utString.erl

+ 2
- 2
src/dataType/utString.erl Vedi File

@ -13,7 +13,7 @@ toLowerStr(List) when is_list(List) ->
[begin
case C >= $A andalso C =< $Z of
true ->
C - $A + $a;
C + 32;
_ ->
C
end
@ -25,7 +25,7 @@ toUpperStr(List) when is_list(List) ->
[begin
case C >= $a andalso C =< $z of
true ->
C - $a + $A;
C - 32;
_ ->
C
end

Caricamento…
Annulla
Salva