Prodig - Komunitas Proyek Digital
Selamat datang di ProDig!
Di sini adalah tempat untuk berbagi proyek (game, seni, program, dan situs).
Di sini Anda juga bisa mendapatkan hal lainnya seperti permainan, berbagi karya, ilmu pengetahuan, kesenangan, dan sebagainya. :)

Ayo daftar lalu langsung login tanpa perlu konfirmasi email sama sekali :D!
Prodig - Komunitas Proyek Digital

Tempat untuk berbagi proyek digital : Situs, Game, Seni, Program
 
PortalHomeRulesSearchRegisterLog in
Welcome to the ProDig, Guest!

 [GML] String Contain Resize
 

 [GML] String Contain

View previous topic View next topic Go down 
AuthorMessage
Red Miko
Global Moderator
Red Miko

Status : with Kochiya-sama
Posts : 213
Chips : 3690
Power : 9
Join date : 2010-10-03
Age : 23
Location : now @ Outer-Gensokyo
Quote : DANMAKU BOUNDED FIELD!!
Badge : [GML] String Contain Visual12

[GML] String Contain _
PostSubject: [GML] String Contain   
[GML] String Contain Icon_minitimeSun Oct 03, 2010 2:31 pm


Game Maker
String Contain
Compability Game Maker 6 Lite or higher
by: Irfan Gunawan

script ini di-implementasikan untuk mengetahui apakah sudah ada string A dalam suatu string dengan metode replacement

Code:
var str, substr, retstr, changes;
str = argument0
substr = argument1
changes = false
retstr = string_replace_all(str,substr,"")
changes = (str != retstr)
return (changes)
// ini biasanya di ruby udah ada, tinggal pake "string".include("str")

silahkan copas ke gm..
arigatou~

--> O: http://vixep.forumotion.com/script-lainnya-f23/gm-string-contain-t235.htm





I'm currently living together with him. It's hard to have a family.

User bar:
[GML] String Contain Userbarm
[GML] String Contain Userbarw
Did you need PREMIUM mode? Then PM me @ this site!
[GML] String Contain Blackberryjepang
Wanna some BlackBerry? From Gensokyo~

--> My mostly used browser: <--
[GML] String Contain Mokofox100
Mokofox

--> Be happy to look some Girls <--
[GML] String Contain Touhouallforone1
Back to top Go down
 

[GML] String Contain

View previous topic View next topic Back to top 
Page 1 of 1

Permissions in this forum:You cannot reply to topics in this forum
Prodig - Komunitas Proyek Digital  :: Education Chamber :: Programming :: GML-
Jump to: