Browse Source

部分代码整理

master
SisMaker 4 years ago
parent
commit
3f5da446be
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      src/dataType/utString.erl

+ 2
- 2
src/dataType/utString.erl View 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

Loading…
Cancel
Save