Removes any whitespace from the both ends of a string
Device + Agent
String — the truncated string
This function removes any and all space characters from both the beginning and the end of the passed string. It returns the result as a new string, leaving the original string intact.
Because strip() is implemented as a function, it does not use dot syntax.