Description: changes the string to make it compatible with sed
Parameter:
- str: string that should be changed. the string is read and written from/to this variable
- forSearch: set to true, if the string should be used as a search string
root
2015-09-06