Sorting String with Numbers using VB Script

后端 未结 3 778
再見小時候
再見小時候 2021-01-07 02:59

How to Sort String with Numeric values using VB Script?

Below are my strings from each row from a table:

  1. \"Test 1 pass dec 2\"
  2. \"Test 3 fail\"
3条回答
  •  心在旅途
    2021-01-07 03:06

    Since you are working with strings, you are going to need to write a custom sort function that can parse the test numbers from the strings.

    Alternatively, you could pre-process your list and parse the numbers into a separate field, then sort based on that field.

提交回复
热议问题