January 09, 2002 D » Re: Param by Name X Param by Index | |||
|---|---|---|---|
| |||
...Source: old_str, Start: MIDDLE, Stop: str_len(old_str)); There are usually help files... | |||
January 09, 2002 D » Param by Name X Param by Index | |||
|---|---|---|---|
| |||
...Stop = str_len(old_str)); or s = substring(old_str, MIDDLE, str_len(old_str... | |||
November 21, 2001 D » Re: array slicing ranges | |||
|---|---|---|---|
| |||
...be far superior. First/Last - intuitive Start/Len - intuitive First/Last+1 - might be easy... | |||
September 06, 2001 D » Re: Spec Clarification: Can .length be set? | |||
|---|---|---|---|
| |||
...sizeof:
int[] array = {3,4,5};
int len = array.length; /* returns 3 */
int size = array... | |||
September 06, 2001 D » Re: Spec Clarification: Can .length be set? | |||
|---|---|---|---|
| |||
...extend it int len = myArray.length; (myArray = new int[len*2])[0..len-1] = myArray... | |||
Copyright © 1999-2021 by the D Language Foundation