iPXE discussion forum
string manipulating method - Printable Version

+- iPXE discussion forum (https://forum.ipxe.org)
+-- Forum: iPXE user forums (/forumdisplay.php?fid=1)
+--- Forum: General (/forumdisplay.php?fid=2)
+--- Thread: string manipulating method (/showthread.php?tid=18573)



string manipulating method - cckp - 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).