Development Articles
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
 
 
User Name:
Password:
Remember me
Go Back   ASP Free ForumsOtherDevelopment Articles

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread ASP Free Forums Sponsor:
  #1  
Old June 21st, 2004, 08:50 AM
DevAdmin DevAdmin is offline
Utility Bot
ASP Free Novice (500 - 999 posts)
 
Join Date: Feb 2004
Posts: 906 DevAdmin Negative: is most likely a SPAMMER and a traitor to the cause. 
Time spent in forums: < 1 sec
Reputation Power: 0
Article Discussion: Mimicking PHP's String Formatting Functions

ASP does not come with many string formatting options. We can find the length, make a string upper/lower case, and do some trimming and replacing, but not too much else. Often appearing in forums is the question "What's the ASP equivalent to PHP's [something] function?" This article will highlight a few formatting functions mimicking PHP, and maybe spur your creative mind on to creating more of your own.


Read the full article here: Mimicking PHP's String Formatting Functions

Reply With Quote
  #2  
Old June 23rd, 2004, 04:42 AM
neutcomp neutcomp is offline
Registered User
ASP Free Newbie (0 - 499 posts)
 
Join Date: Sep 2003
Location: The Netherlands
Posts: 5 neutcomp User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Send a message via ICQ to neutcomp
Nice, with a little error!

Cool stuff!

But there are some little mistakes:

In the function stripTags the last line:
stripHTMLTags = strToStrip must be stripTags = strToStrip

isReallyNumeric I could not find this function. So I changed it to isTrulyNumeric.

Cya
Bjorn

Reply With Quote
  #3  
Old January 27th, 2005, 12:50 PM
j8h9 j8h9 is offline
Registered User
ASP Free Newbie (0 - 499 posts)
 
Join Date: Jan 2005
Posts: 7 j8h9 User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 1 h 25 m 22 sec
Reputation Power: 0
Microsoft Monkeys

Hey Justin,

Thanks for a very good article.

When are those clueless monkeys at Microsoft labs going to enhance ASP so it can do what PHP can do? Would love to sit in on one of their design meetings and try to understand how they can reconcile PHP being so very much more powerful and elegant than ASP. Tragic that we have to artificially code functions to perform basic tasks that PHP can easily and inherently handle... I've been writing PHP for 6 years and, due to corporate work, have been forced to support ASP applications and gawd is ASP clumsy.

Reply With Quote
Reply

Viewing: ASP Free ForumsOtherDevelopment Articles > Article Discussion: Mimicking PHP's String Formatting Functions


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 5 hosted by Hostway
Stay green...Green IT