Class StringExtensions
- Namespace
- Steeltoe.Management.Endpoint
- Assembly
- Steeltoe.Management.EndpointWeb.dll
public static class StringExtensions- Inheritance
- 
      
      StringExtensions
- Inherited Members
Methods
StartsWithSegments(string, string, IEnumerable<string>, out string)
Evaluate if a path starts with a given segment, including optional base paths
public static bool StartsWithSegments(this string incoming, string other, IEnumerable<string> baseSegments, out string remaining)Parameters
- incomingstring
- path to evaluate 
- otherstring
- path to search for 
- baseSegmentsIEnumerable<string>
- base segments that should be considered separately 
- remainingstring
- the result 
Returns
- bool
- remainder of path after base segment(s) and searched-for segment have been considered