Raised This Month: $ Target: $400
 0% 

Cut String


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
ConnorMcLeod
Veteran Member
Join Date: Jul 2006
Location: France (95)
Old 12-20-2008 , 11:22   Re: Cut String
Reply With Quote #2

strbreak is what you need.
http://www.amxmodx.org/funcwiki.php?...strb&go=search

All you have to do is add an extra space to the second part of the string.

This should work :
PHP Code:
new szFirst[16], szRest[64]
strbreak "This is my string"szFirstcharsmax(szFirst), szRest[1], charsmax(szRest)-
__________________
- tired and retired -

- my plugins -
ConnorMcLeod is offline
 



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

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 09:18.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode