- Preparing search index...
- The search index is not available
neuroglancer
Function findSourceGroupBasedOnSeparator
- findSourceGroupBasedOnSeparator(path: string, separator?: string): number
-
Parameters
-
path: string
-
Optional
separator: string
Returns number
Returns the length of the prefix of path that corresponds to the "group", according to the specified separator.
If the separator is not specified, gueses whether it is '/' or ':'.