You need to add return string as your final statement so it knows what to return, otherwise nothing is returned - hence "None" (the default value) is returned. Returning a value means that the value is modified and can be used to check for equality.
return string
Loading collection data...
You need to add
return string
as your final statement so it knows what to return, otherwise nothing is returned - hence "None" (the default value) is returned. Returning a value means that the value is modified and can be used to check for equality.