can anyone tell me what language this is?

cyr0n_k0r

Supreme [H]ardness
Joined
Mar 30, 2001
Messages
5,360
#Right(Replace("%macaddress001%",":",""),15)#

The %macaddress001% is a variable that wouldn't be part of the programming language so you can ignore it. But I'm wondering based on the syntax if anyone can tell me what language this is so I can research. Thanks.
 
#Right(Replace("%macaddress001%",":",""),15)#

The %macaddress001% is a variable that wouldn't be part of the programming language so you can ignore it. But I'm wondering based on the syntax if anyone can tell me what language this is so I can research. Thanks.

Sort of a short sample... do you have more code? where did you get it from?
 
thats the only code sample I have.
What the code is doing is taking a MAC address that looks like 11:22:33:44:55:66 and translating it to 112233445566

EDIT: its coming out of a customsettings.ini file which is used for MDT 2012 imaging with Windows.
 
It may not be a language, it looks more like a config setting.

Right and replace are common functions in a almost any language with text formatting capabilities.
 
after more research it looks like it might be vbscript. Would that look right for vbscript?
 
Looks like ColdFusion. CF makes use of hash tags to execute code. Right, and Replace are CF functions as well.
 
Back
Top