2019-07-04, 03:31
with iPXE scripting how to calclulate string length? do a substr?
currently I can only do some very simple things, like get left 4 letters, get right 1 letter(from left 4 letters), get right 2 letters(from left 4 letters), by type casting
P.S.
------------------------------------
quick search and found this:
http://forum.ipxe.org/showthread.php?tid=7979
2016-03-17, 13:21
Post: #2
robinsmidsrod Offline
iPXE forum administrator
RE: Trim whitespaces from a string?
String manipulation functions have not been implemented
as we're still discussing how they should be provided to the end-user (API).
currently I can only do some very simple things, like get left 4 letters, get right 1 letter(from left 4 letters), get right 2 letters(from left 4 letters), by type casting
P.S.
------------------------------------
quick search and found this:
http://forum.ipxe.org/showthread.php?tid=7979
2016-03-17, 13:21
Post: #2
robinsmidsrod Offline
iPXE forum administrator
RE: Trim whitespaces from a string?
String manipulation functions have not been implemented
as we're still discussing how they should be provided to the end-user (API).