CASP Python Libraries
This documentation primarily focuses on the usage of functions from 'casp', 'casp_be', 'casp_gpio' and 'casp_udio' namespaces.
Loading...
Searching...
No Matches
casp_utils.py
1
"""! This module provides helper functions that are used by other modules of this package.
2
"""
3
4
import
sys
5
if
sys.version_info[:3] < (3,9):
6
from
typing
import
List
as
list
7
8
def
SplitString
(in_str: str, sep: str=
'$'
) -> list[str]:
9
"""! Function that splits an input string delimited by a specified character and returns the sub-strings
10
11
in_str: input string to split
12
13
sep: delimited character. defaulted to '$'
14
15
return value: returns a list of sub-strings resulted from the split.
16
"""
17
return
in_str.split(sep)
casp_utils.SplitString
list[str] SplitString(str in_str, str sep='$')
Function that splits an input string delimited by a specified character and returns the sub-strings.
Definition
casp_utils.py:8
casp_sc
casp_deploy
CASP
pycasp
src
casp_utils.py
Generated by
1.16.1