title: how to parse NSString by removing 2 folders in path in Objective-C
body: <p>I need to parse NSString in Objective-C.. i.e if input path string is /a/b/c/d , i need to parse the path string to get the outout like /a/b/<br>
  How do i achieve it? 
  input path string:/a/b/c/d
  expected output path string:/a/b/
  Please help me out.</p>
  
  <p>Thank You.
  Suse.</p>