开发者

SWIFT MT field format rules [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.

We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.

Closed 5 years ago.

Improve this question

Can someone point me to a document where the formatting rules for a MT message field are described?

For example I want to 开发者_StackOverflow中文版know what the following snippet means.

:4!c//3!a/3!a/15d


This is described in the MT 'General Information' documentation. You can find the 2017 edition of this document here. Specifically, check out section 6.1 for an explanation.

How to read :4!c//3!a/3!a/15d:

  • first :
  • then 4 mandatory c
  • then //
  • then 3 mandatory a
  • then /
  • then 3 mandatory a
  • then /
  • then maximum 15 d

A brief overview of the character types in regex:

  • c is [A-Z0-9]
  • a is [A-Z]
  • d is \d+,\d*


How to read :4!c//3!a/3!a/15d:

first :
then 4!c = must be 4 character "c"
then // is an empty field.
then 3!a = must be 3 character "a"
then /
then 3!a = must be 3 character "a"
then /
then maximum 15d is max 15 character include decimal

A brief overview of the character types in regex:

c is [A-Z0-9]
a is [A-Z]
d is (0-9) max 15 character include decimal

for example : You will fill price field (90a)

:90B::4!c//4!c/3!a15d

then you can fill = :90B::DEAL//ACTU/EUR1000,5

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜