|
-
Jan 26th, 2012, 12:50 PM
#4
Thread Starter
Fanatic Member
Re: Inserting at Position
 Originally Posted by MarkT
I haven't looked closely at the code but a quick glance appear that you know the name of your placeholder ahead of time and you're using that to find the position of where you want to do your insert. If that is the case couldn't you just use the Replace function instead of all the string manipulation?
Yes and no, replace would be able to remove the function, but it isn't going to find the location of where I have to insert the calls to the appropriate function.
Example
Code:
strData=replace(strData,Placeholder,FunctiontoExecute)
If I were to simply replace the placeholder with the Function, it would just write the function to the page, instead of executing it.
If a post has been helpful please rate it. 
If your question has been answered, pull down the tread tools and mark it as resolved.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|