Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » ATL » startsWith(s : String)
startsWith(s : String) [message #1763716] Thu, 18 May 2017 22:39 Go to next message
Sarah K. is currently offline Sarah K.Friend
Messages: 42
Registered: February 2017
Member
Hi
I have a question about a String data type operation.
startsWith(s : String) : is 's' the first caracter in a String or can it be a whole string ?
for example can we do : ABD_ready.startsWith('ABD') ?
or it can be only ABD_ready.startsWith('A') ?
Regards
Re: startsWith(s : String) [message #1763801 is a reply to message #1763716] Fri, 19 May 2017 20:58 Go to previous message
Dennis Wagelaar is currently offline Dennis WagelaarFriend
Messages: 350
Registered: September 2012
Location: Belgium
Senior Member

It can be a whole string.

Cheers,
Dennis
Previous Topic:ATL Design Patterns
Next Topic:extracting a string from a string
Goto Forum:
  


Current Time: Sat Sep 23 00:24:56 GMT 2017

Powered by FUDForum. Page generated in 0.03928 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software