Remove Substring from NSstring
Posted
by
user3037815
on Stack Overflow
See other posts from Stack Overflow
or by user3037815
Published on 2014-06-03T21:21:53Z
Indexed on
2014/06/03
21:24 UTC
Read the original article
Hit count: 128
I see so many solution , but none of them was matching my problem . As i am new to iOS development .
I have a String
abc/_api/web/GetFolderByServerRelativeUrl('Documents/Root Folder/Level 1/Level 2/Level 1-1/Level 1/')/folders.
I want to remove Remove Substring after last "/" for example my new string should look like this.
abc/_api/web/GetFolderByServerRelativeUrl('Documents/Root Folder/Level 1/Level 2/Level 1-1/Level 1/)
Can someone suggest me the best way to achieve this , thanks ,
© Stack Overflow or respective owner