Changeset 5336
- Timestamp:
- 08/17/10 17:23:41 (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
issm/trunk/src/c/shared/String/isdistributed.cpp
r5331 r5336 34 34 35 35 /*Start from the end, until we find a letter, which we will, otherwise error out: */ 36 for(i=strlen(name)-1;i>=0;i ++){36 for(i=strlen(name)-1;i>=0;i--){ 37 37 if (isdigit(name[i])){ 38 38 root[i]='\0'; //finish the string here and keep looking for a letter
Note:
See TracChangeset
for help on using the changeset viewer.