The following warnings occurred:
Warning [2] Use of undefined constant SAPI_NAME - assumed 'SAPI_NAME' (this will throw an Error in a future version of PHP) - Line: 3388 - File: inc/functions.php PHP 7.4.33-nmm7 (Linux)
File Line Function
/inc/functions.php 3388 errorHandler->error
/showthread.php 116 build_archive_link
Warning [2] Use of undefined constant IN_ARCHIVE - assumed 'IN_ARCHIVE' (this will throw an Error in a future version of PHP) - Line: 3331 - File: inc/functions.php PHP 7.4.33-nmm7 (Linux)
File Line Function
/inc/functions.php 3331 errorHandler->error
/inc/functions.php 3324 build_forum_breadcrumb
/showthread.php 195 build_forum_breadcrumb
Warning [2] Use of undefined constant IN_ARCHIVE - assumed 'IN_ARCHIVE' (this will throw an Error in a future version of PHP) - Line: 3331 - File: inc/functions.php PHP 7.4.33-nmm7 (Linux)
File Line Function
/inc/functions.php 3331 errorHandler->error
/showthread.php 195 build_forum_breadcrumb






Post Reply 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
.add dialog
Author Message
Extreme
Grandmaster Poster
***

Posts: 1,141
Likes Given: 217
Likes Received: 90 in 77 posts
Joined: May 2012
Reputation: 20

SphereCommunity

Post: #2
RE: .add dialog
Hello man!
Nice script, uhh?!

I have one idea for you, instead join the words with underline, you could try use the STRTRIM function.
It will lower the time to make the list anyway.

Here is the example:
PHP Code:
STRTRIM
This 
function be used to strip all whitespace (spacestabsnewlinesfrom the start and end of a string.

The following script demonstrates this:

[FUNCTION 
f_strtrim]
LOCAL.TEXT "     TEST     "
SERV.LOG 1. <LOCAL.TEXT>
SERV.LOG 2. <STRTRIM <LOCAL.TEXT>>

When runthe following output will be seen on the Sphere console:

1.      TEST     
2. TEST 

Good job!

STEPS BEFORE CREATE A THREAD
- Check the revisions log;
- Use the search button and use the keywords of your problem;
- Check the WIKI;
- Create a thread.
11-01-2013 05:34 AM
Find all posts by this user Like Post Quote this message in a reply
Post Reply 


Messages In This Thread
.add dialog - XuN - 11-01-2013, 04:11 AM
RE: .add dialog - Extreme - 11-01-2013 05:34 AM
RE: .add dialog - Monty - 11-04-2013, 01:02 AM
RE: .add dialog - Rattlehead - 11-04-2013, 07:23 AM
RE: .add dialog - XuN - 11-04-2013, 11:50 PM
RE: .add dialog - XuN - 11-05-2013, 04:52 AM
RE: .add dialog - amonvangrell - 11-05-2013, 08:17 AM
RE: .add dialog - XuN - 11-05-2013, 08:46 AM
RE: .add dialog - XuN - 11-05-2013, 09:03 PM
RE: .add dialog - XuN - 11-08-2013, 01:26 AM
RE: .add dialog - XuN - 11-12-2013, 05:34 AM
RE: .add dialog - Avatar - 11-14-2013, 02:21 AM
RE: .add dialog - XuN - 11-21-2013, 06:03 AM
RE: .add dialog - Soulless - 12-16-2013, 08:38 AM
RE: .add dialog - XuN - 12-16-2013, 06:48 PM
RE: .add dialog - Soulless - 12-17-2013, 01:16 AM
RE: .add dialog - XuN - 12-17-2013, 07:54 AM
RE: .add dialog - Soulless - 12-18-2013, 01:22 PM
RE: .add dialog - XuN - 01-22-2014, 08:30 PM
RE: .add dialog - XuN - 03-01-2014, 01:09 AM

Forum Jump:


User(s) browsing this thread: 7 Guest(s)