Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Micros 3700 SIM Substring command

Status
Not open for further replies.

LeanClink

Programmer
Nov 26, 2020
10
PH
Hello all,

Is there a substring function in Micros 3700 SIM? For example, pseudocode below:

var str : A20 = "LongString"

var str1:A10 = substring(str,1,4) //will output "Long"
var str2:A10 = substring(str,5,10) //will output "String"

I tried to look in documentation but cannot find anything of equivalent.

Can anyone help point me in the right direction?

Thank you
 
Yes its MID

var str : A20 = "LongString"

var str1:A10 = mid(str,1,4) //will output "Long"


Specialist in creating custom applications for the Micros POS range: 3700, 9700, Simphony FE, Simphony. SIM Scripts, Data Exports, Simphony extension applications, API Creation and integration. If you need anything please contact me via my website
 
Thanks Cathal! That works. Thanks for always helping out on this sub!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top