AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting Help (https://forums.alliedmods.net/forumdisplay.php?f=11)
-   -   [help] string length and contain (https://forums.alliedmods.net/showthread.php?t=135886)

katna 08-20-2010 14:59

[help] string length and contain
 
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.

Arkshine 08-20-2010 15:12

Re: [help] string length and contain
 
- contain
- strlen

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


All times are GMT -4. The time now is 21:53.

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