Added proper(string)

This commit is contained in:
Daniel
2014-09-26 14:50:16 +02:00
parent aa734405ce
commit bd58c3b202
2 changed files with 7 additions and 0 deletions
@@ -170,6 +170,12 @@
if(istext(string))
return text2num(string)
/proc/n_proper(var/string)
if(!istext(string))
return ""
return text("[][]", uppertext(copytext(string, 1, 1)), lowercase(copytext(string, 2)))
// --- Number methods ---
//Returns the highest value of the arguments