|
Как взять часть строки?
|
|||
---|---|---|---|
#18+
У меня есть строка, в ней записано "2003". Как мне сделать, чтоб вместо "2003" было "03". Хелп, а то у меня под вечер уже соображалка не работает.... Zeta ... |
|||
:
Нравится:
Не нравится:
|
|||
19.10.2003, 18:26 |
|
Как взять часть строки?
|
|||
---|---|---|---|
#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 |
|
Как взять часть строки?
|
|||
---|---|---|---|
#18+
да не за что.... пришлось пошевелить и самому мозгами... а то отупею скоро... Felix ... |
|||
:
Нравится:
Не нравится:
|
|||
19.10.2003, 18:55 |
|
|
start [/forum/search_topic.php?author=JJJ-PP&author_mode=last_posts&do_search=1]: |
0ms |
get settings: |
7ms |
get forum list: |
17ms |
get settings: |
10ms |
get forum list: |
13ms |
check forum access: |
3ms |
check topic access: |
3ms |
track hit: |
125ms |
get topic data: |
11ms |
get forum data: |
2ms |
get page messages: |
44ms |
get tp. blocked users: |
1ms |
others: | 441ms |
total: | 677ms |
0 / 0 |