Talk:SEDOLs: Difference between revisions
Content added Content deleted
(Vowels?) |
(response to J enquiry) |
||
Line 1: | Line 1: | ||
== J == |
|||
Does the J solution reject strings with vowels in them? It says on [[wp:SEDOL#Description|the wikipedia]] that vowels are never used in the 6-character code, so the function should reject strings that have them. --[[User:Mwn3d|Mwn3d]] 04:58, 5 August 2008 (UTC) |
Does the J solution reject strings with vowels in them? It says on [[wp:SEDOL#Description|the wikipedia]] that vowels are never used in the 6-character code, so the function should reject strings that have them. --[[User:Mwn3d|Mwn3d]] 04:58, 5 August 2008 (UTC) |
||
:The J code isn't a validator, it merely calculates and appends the check digit. |
|||
:You could modify it to whine about vowels by removing them: |
|||
sn =. '0123456789 BCD FGH JKLMN PQRST VWXYZ' |
|||
:Not terribly exciting. |
|||
[[User:68.175.31.239|68.175.31.239]] 12:44, 5 August 2008 (UTC) (aka [[User:DanBron|DanBron]]) |
Revision as of 12:44, 5 August 2008
J
Does the J solution reject strings with vowels in them? It says on the wikipedia that vowels are never used in the 6-character code, so the function should reject strings that have them. --Mwn3d 04:58, 5 August 2008 (UTC)
- The J code isn't a validator, it merely calculates and appends the check digit.
- You could modify it to whine about vowels by removing them:
sn =. '0123456789 BCD FGH JKLMN PQRST VWXYZ'
- Not terribly exciting.
68.175.31.239 12:44, 5 August 2008 (UTC) (aka DanBron)