Exscript.stdlib.string module

Exscript.stdlib.string.replace(*args, **kwargs)[source]

Returns a copy of the given string (or list of strings) in which all occurrences of the given source are replaced by the given dest.

Parameters:
  • strings (string) – A string, or a list of strings.
  • source (string) – What to replace.
  • dest (string) – What to replace it with.
Return type:

string

Returns:

The resulting string, or list of strings.

Exscript.stdlib.string.tolower(*args, **kwargs)[source]

Returns the given string in lower case.

Parameters:strings (string) – A string, or a list of strings.
Return type:string
Returns:The resulting string, or list of strings in lower case.
Exscript.stdlib.string.toupper(*args, **kwargs)[source]

Returns the given string in upper case.

Parameters:strings (string) – A string, or a list of strings.
Return type:string
Returns:The resulting string, or list of strings in upper case.