string cut
#8

The example you gave is: "Ance_Zas: Prisijunges". The code I wrote will return "Ance_Zas" but you search for " -" and you never check if it was found or not. In case " -" doesn't exist in the inputtext, the length will be 0 and msg will not hold the name.
Reply


Messages In This Thread
string cut - by ancezas - 04.03.2014, 14:49
Re: string cut - by HK - 04.03.2014, 14:50
Re: string cut - by fordawinzz - 04.03.2014, 14:52
Re: string cut - by Konstantinos - 04.03.2014, 14:55
Re: string cut - by ancezas - 04.03.2014, 15:16
Re: string cut - by Konstantinos - 04.03.2014, 15:18
Re: string cut - by ancezas - 04.03.2014, 15:51
Re: string cut - by Konstantinos - 04.03.2014, 15:58
Re: string cut - by ancezas - 04.03.2014, 16:16
Re: string cut - by Konstantinos - 04.03.2014, 16:19

Forum Jump:


Users browsing this thread: 4 Guest(s)