|
import string
|
|
|
|
def tolower(astr)
|
|
return string.tr(astr,"ABCDEFGHIJKLMNOPQRSTUVWXYZ","abcdefghijklmnopqrstuvwxyz")
|
|
end
|
|
|
|
def nospaces(astr)
|
|
return string.tr(astr," ","")
|
|
end
|
|
|
|
var stringe = module('stringe')
|
|
stringe.tolower=tolower
|
|
stringe.nospaces=nospaces
|
|
|
|
return stringe
|
|
|