Conversion Functions

scop.convert.commastrtostr(s)

Converts a comma string to a string
returns: string
> = scop.convert.commastrtostr('Ana,Roberto,"Maria Clara"')
Ana
Roberto
Maria Clara

scop.convert.strtoalphanum(s)

Converts a string to alphanumeric String
returns: string
> = scop.convert.strtoalphanum('astring.2')
astring2

scop.convert.strtocommastr(s)

Converts a string to a comma string
returns: string
> = scop.convert.strtocommastr('Ana\nRoberto\nMaria Clara')
Ana,Roberto,"Maria Clara"

scop.convert.strtohex(s)

Converts a string to a hexadecimal string
returns: string
> = scop.convert.strtohex('selenite')
73656C656E697465

scop.convert.hextoint(s)

Converts a hex string to integer
returns: integer
> = scop.convert.hextoint('7DD')
2013

scop.convert.hextostr(s)

Converts a hexadecimal string to string
returns: string
> = scop.convert.hextostr('73656C656E697465')
selenite