(a, prefix)
return a[len(prefix):] if a.startswith(prefix) else a
Returns 'a' without 'prefix' if it starts with 'prefix'.
Returns 'a' without 'prefix' if it starts with 'prefix'.
Returns a without prefix if it starts with prefix .
def RemovePrefix(a, prefix):
  """Returns 'a' without 'prefix' if it starts with 'prefix'."""
  return a[len(prefix):] if a.startswith(prefix) else a
def RemovePrefix ( a , prefix ) : return a [ len ( prefix ) : ] if a . startswith ( prefix ) else a