Raised This Month: $ Target: $400
 0% 

[help] string length and contain


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
katna
Senior Member
Join Date: May 2010
Old 08-20-2010 , 14:59   [help] string length and contain
Reply With Quote #1

i have a string that is equal to "abcdef"
how can i use the contain/containi function to detect if a specific character contain in the string. and how can i check how many characters the string contain.
katna is offline
Arkshine
AMX Mod X Plugin Approver
Join Date: Oct 2005
Old 08-20-2010 , 15:12   Re: [help] string length and contain
Reply With Quote #2

- contain
- strlen

Next time, when you want to manipulate strings, see string.inc or http://www.amxmodx.org/funcwiki.php?go=inc&id=5
__________________
Arkshine is offline
Reply


Thread Tools
Display Modes

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 21:53.


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