|
| | OpenRTM_aist.StringUtil.isEscaped (_str, pos) |
| |
|
| OpenRTM_aist.StringUtil.for_each (_str, instance) |
| |
| | OpenRTM_aist.StringUtil.escape (_str) |
| |
| | OpenRTM_aist.StringUtil.unescape (_str) |
| |
| | OpenRTM_aist.StringUtil.eraseBlank (_str) |
| |
| | OpenRTM_aist.StringUtil.eraseHeadBlank (_str) |
| |
| | OpenRTM_aist.StringUtil.eraseTailBlank (_str) |
| |
| | OpenRTM_aist.StringUtil.replaceString (_str, _from, _to) |
| |
| | OpenRTM_aist.StringUtil.split (input, delimiter) |
| |
| | OpenRTM_aist.StringUtil.toBool (_str, yes, no, default_value=None) |
| |
| | OpenRTM_aist.StringUtil.includes (_list, value, ignore_case=True) |
| |
| | OpenRTM_aist.StringUtil.isAbsolutePath (str) |
| |
| | OpenRTM_aist.StringUtil.isURL (str) |
| |
| | OpenRTM_aist.StringUtil.otos (n) |
| |
|
| OpenRTM_aist.StringUtil._stringToList (_type, _str) |
| |
| | OpenRTM_aist.StringUtil.stringTo (_type, _str) |
| |
|
| OpenRTM_aist.StringUtil.unique_sv (sv) |
| |
| | OpenRTM_aist.StringUtil.flatten (sv, delimiter=", ") |
| |
|
| OpenRTM_aist.StringUtil.toArgv (args) |
| |
| | OpenRTM_aist.StringUtil.urlparam2map (_str) |
| |
| | OpenRTM_aist.StringUtil.replaceEnv (_str) |
| |
| | OpenRTM_aist.StringUtil.findFile (dir, filename, filelist) |
| |
| | OpenRTM_aist.StringUtil.getFileList (dir, ext, filelist=None) |
| |
| | OpenRTM_aist.StringUtil.parseArgs (args) |
| |
String operation utility.
- Date
- Date
- Author
- Noriaki Ando n-and.nosp@m.o@ai.nosp@m.st.go.nosp@m..jp and Shinji Kurihara
Copyright (C) 2003-2008 Task-intelligence Research Group, Intelligent Systems Research Institute, National Institute of Advanced Industrial Science and Technology (AIST), Japan All rights reserved.
| OpenRTM_aist.StringUtil.includes |
( |
| _list, |
|
|
| value, |
|
|
| ignore_case = True ) |
Include if a string is included in string list
if the second argument is included in the comma separated string list of the first argument, This operation returns "true value".
- Parameters
-
| list | The target comma separated string |
| value | The searched string |
- Returns
- true: included, false: not included
bool includes(const vstring& list, std.string value, bool ignore_case = true);