|
|
|||||||||
|
|||||||||
|
|||||||||
| |
|||
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Display Modes |
|
|
|
Stay one step ahead of the competition. Evaluate and give feedback
on some of the hottest web development tools on the market today.
Make your opinion heard! Click
Here
|
|
#1
|
|||
|
|||
|
get part of a string...?
hey,
I have a string which looks like this: 7#page1 It may also look like this: 132#page34 I basically need to get the number BEFORE the # .... the code I have so far is: PHP Code:
but that just returns "#" Any ideas? Thanks guys!! |
|
#2
|
|||
|
|||
|
Try this:
PHP Code:
__________________
__________________________________________________ _ Wil Moore III, MCP | Integrations Specialist | Senior Consultant Are You Listed...? | DigitallySmooth Inc. |
|
#3
|
|||
|
|||
|
You may also use:
PHP Code:
|
|
#4
|
|||
|
|||
|
hey,
that has worked perfecty! many thanks!!!!! |
|
#5
|
|||
|
|||
|
No problem
|
![]() |
| Viewing: Dev Articles Community Forums > Programming > General Programming Help > get part of a string...? |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|