Detect String Between Python Function Example Program For Abstraction