Explorar el Código

部分代码整理

master
SisMaker hace 4 años
padre
commit
3f5da446be
Se han modificado 1 ficheros con 2 adiciones y 2 borrados
  1. +2
    -2
      src/dataType/utString.erl

+ 2
- 2
src/dataType/utString.erl Ver fichero

@ -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

Cargando…
Cancelar
Guardar