|
uCoz Community Archives Locked Functions |
Functions |
Hello, I have a quick question. Preferably Natashko can help me out more on this subject.
With the built in functions provided such as strpos, substr, and the others listed. Is there a way we can search for a particular item in a string from an unknown index and string to have a desired output? What I mean by searching is, finding an item within a string when the code is parsed. For instance, I want to find an element in the content that when found using strpos, it will output true and some content will also be output. If it's not true, then no content would be output. Also, is it possible to have comparison operators(!=,=,==,=<,=>) after the S2 or "block"? Or use other functions within functions? Code Code example deleted. Which I would assume return whatever's between the start index of "someItem" and the end of the last index of someItem2. Thanks for any feedback. update: I figured out how to get a certain portion of characters to show up within multiple lines of strings, although it does have some setbacks... thanks again. Post edited by kostova - Friday, 2010-12-03, 10:09 AM
|
| |||
| |||