|
|
|
Как взять часть строки?
|
|||
|---|---|---|---|
|
#18+
У меня есть строка, в ней записано "2003". Как мне сделать, чтоб вместо "2003" было "03". Хелп, а то у меня под вечер уже соображалка не работает.... Zeta ... |
|||
|
:
Нравится:
Не нравится:
|
|||
| 19.10.2003, 18:26:36 |
|
||
|
Как взять часть строки?
|
|||
|---|---|---|---|
|
#18+
string substr (string string, int start [, int length]) Substr returns the portion of string specified by the start and length parameters. If start is positive, the returned string will start at the start'th character of string. $rest = substr ("2003", 2, 2); // returns "03" Felix ... |
|||
|
:
Нравится:
Не нравится:
|
|||
| 19.10.2003, 18:35:08 |
|
||
|
Как взять часть строки?
|
|||
|---|---|---|---|
|
#18+
да не за что.... пришлось пошевелить и самому мозгами... а то отупею скоро... Felix ... |
|||
|
:
Нравится:
Не нравится:
|
|||
| 19.10.2003, 18:55:39 |
|
||
|
|

start [/forum/topic.php?fid=23&msg=32297770&tid=1480329]: |
0ms |
get settings: |
8ms |
get forum list: |
15ms |
check forum access: |
3ms |
check topic access: |
3ms |
track hit: |
186ms |
get topic data: |
10ms |
get forum data: |
2ms |
get page messages: |
49ms |
get tp. blocked users: |
2ms |
| others: | 215ms |
| total: | 493ms |

| 0 / 0 |
