aboutsummaryrefslogtreecommitdiffstats
path: root/lib/stdlib/src/string.erl
diff options
context:
space:
mode:
authorDan Gudmundsson <[email protected]>2018-03-22 12:32:37 +0100
committerDan Gudmundsson <[email protected]>2018-03-22 13:12:29 +0100
commit20f9ac424718170299febebb384c4d08b1f8cf52 (patch)
tree7d51d553fb46541e1675441fe01585e9fe139e6e /lib/stdlib/src/string.erl
parent0c151c6939a83f9a26a45d24fd504fc4fb2f3f01 (diff)
downloadotp-20f9ac424718170299febebb384c4d08b1f8cf52.tar.gz
otp-20f9ac424718170299febebb384c4d08b1f8cf52.tar.bz2
otp-20f9ac424718170299febebb384c4d08b1f8cf52.zip
Revert "Deprecate old string functions"
It has been decided that it was to early to deprecate the old string functions. This partially reverts commit ccb3f7f9768d3c28783c771df47eec1829e51802.
Diffstat (limited to 'lib/stdlib/src/string.erl')
-rw-r--r--lib/stdlib/src/string.erl10
1 files changed, 0 insertions, 10 deletions
diff --git a/lib/stdlib/src/string.erl b/lib/stdlib/src/string.erl
index 4e89819e41..0736374f21 100644
--- a/lib/stdlib/src/string.erl
+++ b/lib/stdlib/src/string.erl
@@ -88,16 +88,6 @@
%%% May be removed
-export([list_to_float/1, list_to_integer/1]).
--deprecated([{len,1},{concat,2},
- {str,2},{chr,2},{rchr,2},{rstr,2},
- {span,2},{cspan,2},{substr,'_'},{tokens,2},
- {chars,'_'},
- {copies,2},{words,'_'},{strip,'_'},
- {sub_word,'_'},{left,'_'},{right,'_'},
- {sub_string,'_'},{centre,'_'},{join,2},
- {to_upper,1}, {to_lower,1}
- ]).
-
%% Uses bifs: string:list_to_float/1 and string:list_to_integer/1
-spec list_to_float(String) -> {Float, Rest} | {'error', Reason} when
String :: string(),