You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently, starts_with('foobar', '') throws a warning (and returns false) and ends_with('foobar', '') returns true.
I think the warning should be removed, and the return value of these cases unified.
And, per this answer on stackoverflow: Java and .NET implementations of String.StartsWith and String.EndsWith return true if needle is an empty string.
The text was updated successfully, but these errors were encountered:
Currently,
starts_with('foobar', '')
throws a warning (and returns false) andends_with('foobar', '')
returns true.I think the warning should be removed, and the return value of these cases unified.
And, per this answer on stackoverflow:
Java and .NET implementations of String.StartsWith and String.EndsWith return true if needle is an empty string.
The text was updated successfully, but these errors were encountered: