diff options
| author | 董晓燕 <[email protected]> | 2021-06-03 09:55:45 +0000 |
|---|---|---|
| committer | 董晓燕 <[email protected]> | 2021-06-03 09:55:45 +0000 |
| commit | ac68e65f508799a0e555a240ae374d313a0a8d75 (patch) | |
| tree | 2a339bbd8acd65e2fb235159cc9c5303ae5725b7 /keyword/common/customlibrary/Custometest/StringManipulation.py | |
| parent | 2f39b56d617e5fba2b8d73d81cd5e6d894f85352 (diff) | |
| parent | 4667c668725ff7cb673c637a297c67283876d4d4 (diff) | |
Develop
See merge request dongxiaoyan/gap_tsg_api!4
Diffstat (limited to 'keyword/common/customlibrary/Custometest/StringManipulation.py')
| -rw-r--r-- | keyword/common/customlibrary/Custometest/StringManipulation.py | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/keyword/common/customlibrary/Custometest/StringManipulation.py b/keyword/common/customlibrary/Custometest/StringManipulation.py new file mode 100644 index 0000000..858d6fc --- /dev/null +++ b/keyword/common/customlibrary/Custometest/StringManipulation.py @@ -0,0 +1,7 @@ +from builtins import len + +#用于Settings和Administrator关键字对字符串的切割 +def StringSegmentation(a,k): + b=len(a) + c=a[k:b] + return c
\ No newline at end of file |
