Raised This Month: $ Target: $400
 0% 

Split string


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
fysiks
Veteran Member
Join Date: Sep 2007
Location: Flatland, USA
Old 07-09-2017 , 20:09   Re: Split string
Reply With Quote #7

Strings should never be returned from functions especially general purpose functions.

I'm not sure what angle brackets do for creating an array but it's not wise to use extremely obscure features when providing support on these forums unless it's the only way to do it.

containi() returns the position in the string where the search string starts. If it is not found, it will return -1. So "~containi()" will evaluate as True when the string is NOT found and when the string does not start at the beginning.
__________________

Last edited by fysiks; 07-09-2017 at 20:10.
fysiks is online now
 



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 22:49.


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