Method pathname.findExtension
Overload
Finds filename extension, like ".txt"
.
public static int findExtension(ReadOnlySpan<char> path)
Parameters
path (ReadOnlySpan<char>)
Path or filename. Can be |
Returns
int
Index of |