1.原始robot framework的代码:“风险点1-工作年限”求得长度为11
2.用Encode String To Bytes处理 ,求得长度为25
处理后:
3.Encode String To Bytes用法:
Encode String To Bytes | string, encoding,errors=strict | Encodes the given Unicode
Examples:
Use Convert To Bytes in |
1.原始robot framework的代码:“风险点1-工作年限”求得长度为11
2.用Encode String To Bytes处理 ,求得长度为25
处理后:
3.Encode String To Bytes用法:
Encode String To Bytes | string, encoding,errors=strict | Encodes the given Unicode
Examples:
Use Convert To Bytes in |
转载于:https://www.cnblogs.com/facexiaoxi/p/7693162.html