How to get a substring from NSSTring from an index from 0 to 99. I.e. first 100 characters
[myString substringToIndex: 100]
You must be sure that index 100 is valid, i.e. string length at least 100. Otherwise, an exception will be thrown.
[str substringToIndex: 100]
Source: https://habr.com/ru/post/1315056/More articles:problem setting position in control - silverlightTap scroll in Flipper view in Android? - androidC ++ Precision: String to Double - c ++How to change Git subtree merge source - gitdebugging SSIS packages - debug.writeline - sql-serverMaven POM Redundancy Elimination - javaFlex Datagrid in repeater - data binding warning - flexNeed help understanding events in C # - c #How to fill the space between two floating divs? - htmlNeed a C # function to get an SDCard server in .NET CF - c #All Articles