Raised This Month: $ Target: $400
 0% 

Solved Need help with strings


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
thEsp
BANNED
Join Date: Aug 2017
Old 01-07-2019 , 14:09   Need help with strings
Reply With Quote #1

Greetings,
I have an problem reading strings. I want to execute a command if an strings starts with x specific letter.

For example:
PHP Code:
if(string_startswith(stringOne,";")) {


Im using this:
PHP Code:
if(containi(stringOne,";")) {


But this checks if string has a custom x letter/string rather than checking if it starts with it.
Thanks in advance

Solution: if(equal(string,";",1))

Last edited by thEsp; 03-23-2019 at 07:54.
thEsp 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 07:35.


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