The following warnings occurred:
Warning [2] count(): Parameter must be an array or an object that implements Countable - Line: 807 - File: showthread.php PHP 7.3.15 (Linux)
File Line Function
/showthread.php 807 errorHandler->error





Post Reply 
 
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
string manipulating method
2019-07-04, 03:31
Post: #1
string manipulating method
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).
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
string manipulating method - cckp - 2019-07-04 03:31



User(s) browsing this thread: 1 Guest(s)