About Pi Downloads Documentation Plugins Developer Forum Issues

pi.util.String.unicode

Summary

Returns unicoded version of the specified string.

Syntax

pi.util.String.unicode(string)

Syntax

Example

>>> pi.util.String.unicode("hello")
"\u0068\u0065\u006c\u006c\u006f"

See Also